Tech Note: Using ACI_PACK to read and display pictures
PRODUCT: ACI Pack | VERSION: 6.0 | PLATFORM: Mac & Win
Published On: March 1, 1998
This technical note details managing pictures using ACI_PACK and 4D routines. The routines discussed are extracted from the Pixys example database, which accompanies this technical note. Those specific routines are the following:
SAVE PICTURE TO FILE
COMPRESS PICTURE
AP Get Picture Type
AP Read Picture Blob
AP Set Picture Mode
AP Read Picture File
AP Save BMP 8 Bits
AP Save GIF
Using 4D and ACI_PACK commands, it is now possible to export pictures in the following formats: "PICT" "BMP" "JPEG" and "GIF". In regards to reading capabilities, formats such as "PICT" "JPEG" "GIF" "BMP" and "WMF" "EMF" (Windows only) can be read.
Note: In this example, the ".snd " and ".wav" file types will be also interpreted on the Windows platform.
Tech Note