class ImageScience
Constants
- FIF_BMP
- FIF_CUT
- FIF_DDS
- FIF_FAXG3
- FIF_GIF
- FIF_HDR
- FIF_ICO
- FIF_IFF
- FIF_JNG
- FIF_JPEG
- FIF_KOALA
- FIF_LBM
- FIF_MNG
- FIF_PBM
- FIF_PBMRAW
- FIF_PCD
- FIF_PCX
- FIF_PGM
- FIF_PGMRAW
- FIF_PNG
- FIF_PPM
- FIF_PPMRAW
- FIF_PSD
- FIF_RAS
- FIF_SGI
- FIF_TARGA
- FIF_TIFF
- FIF_UNKNOWN
from freeimage.h
- FIF_WBMP
- FIF_XBM
- FIF_XPM
- FILE_TYPES
- MIME_TYPES
Public Instance Methods
file_type()
click to toggle source
determines the file format of this image file (represented as an uppercase string). nil if the file type is not known, or if no image has been loaded.
# File lib/misc/image_science_extensions.rb, line 93 def file_type FILE_TYPES[@file_type] end
mime_type()
click to toggle source
determines the MIME type of this image file. nil if the file type is not known, or if no image has been loaded.
# File lib/misc/image_science_extensions.rb, line 99 def mime_type MIME_TYPES[@file_type] end