In order to create a jpeg datatype object (jpeg subclass of picture class) I do following under AROS:
DTImage = NewDTObject(NULL,
DTA_SourceType, DTST_RAM,
DTA_BaseName, "jpeg",
PDTA_DestMode, PMODE_V43,
TAG_DONE);
which is compatible with datatypes.library V45 written by Roland Mainz.
How can you do the same on both MorphOS and OS4? I need to create empty object, draw into it and write in specified format. All using datatypes.library.
regards,
Michal.