Welcome, Guest. Please login or register.

Author Topic: Creating datatype object of specified subclass  (Read 1719 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline mschulzTopic starter

Creating datatype object of specified subclass
« on: December 09, 2004, 02:48:12 PM »
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.