Platforms to show: All Mac Windows Linux Cross-Platform
FAQ.How do I check if the QuickTime component for the JPEG importing is available?
Feedback.
Answer: If you want to know if the StringToPicture functions will work, you may try this function:
Example:
It should work like this for other types like:
"tiff" -> TIFF
"PNTG" -> Mac Paint
"gif " -> GIF
"WRLE" -> Windows BMP
"tga " -> Targa
"png " -> PNG
etc.
Feedback.
Answer: If you want to know if the StringToPicture functions will work, you may try this function:
Example:
Function IsQTJPEGImporterAvailable() As boolean
dim q as QTComponentInformationMBS
// search for QuickTime JPEG importer codec
q=new QTComponentInformationMBS
while q.NextComponent
if q.Type="imdc" and q.SubType="jpeg" then
Return true
end if
wend
Return false // not found
End Function
Notes: It should work like this for other types like:
"tiff" -> TIFF
"PNTG" -> Mac Paint
"gif " -> GIF
"WRLE" -> Windows BMP
"tga " -> Targa
"png " -> PNG
etc.
Links
MBS Realbasic Plugins - Nachhilfe Nickenich