oid_graphic_format
oid_graphic_format (oid)
This function returns the graphic file format of the graphic referenced by oid. If the oid is invalid or does not reference a graphic, the function returns an empty string.
The returned value can be one of the following formats:
• sunbm — Sun Bitmap
• xbm — X Bitmap
• eps — Encapsulated PostScript file
• cur— Windows Cursor file
• drw — IslandDraw DRW file
• sunicon — Sun Icon file
• tif — Tag Image File Format
• drwunc — IslandDraw DRAW file (not compressed)
• png — Portable Network Graphics
• wmf — Windows metafile
• icon — Windows icon
• pcx — PC Paintbrush File Format
• bmp — Windows Bitmap
• cgm — Computer Graphics Metafile
• gif — Graphic Interchange Format
• jpg — Joint Photographic Exports Group
• calsG4 — CALS raster (G4)
• svg — Scalable Vector Graphics
• idr — Arbortext IsoDraw file
• idrz — Arbortext IsoDraw file
• iso — Arbortext IsoDraw file
• isoz — Arbortext IsoDraw file
• edz — Creo View file
• pvz — Creo View file
Related Topics