Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
ImageTools[Formats] - supported image I/O formats
Calling Sequence
Formats
Description
The Formats variable is a set containing the names of image formats supported by ImageTools[Read] and ImageTools[Write].
ImageTools supports three image file formats: JPEG, TIFF, and BMP.
The vast majority of existing JPEG files (as specified by the JPEG File Interchange Format standard, JFIF) can be read by ImageTools[Read], but there are a few exceptions. Most notably, JPEG files using hierarchical storage, lossless JPEG compression, arithmetic entropy encoding, DNL markers, or non-integral subsampling ratios are not supported. Fortunately, none of these features of the JPEG standard are in widespread use.
Only RGB, YCbCr, and Grayscale color spaces are supported. When reading a YCbCr image, it is converted to RGB on input. CMYK, YCCK, and proprietary color spaces are not supported.
When writing RGB images, ImageTools[Write] uses the YCbCr color space, which is the standard for JFIF formatted JPEG files. When writing grayscale images, the Grayscale color space is used.
JPEG reading and writing support is based on the Independent JPEG Group's "libjpeg", version 6.2. See copyright.
Most TIFF files can be read by ImageTools[Read], including bi-level (black and white), grayscale, color mapped, RGB, fax, separated (CMYK), YCbCr, and JPEG-encoded TIFF images. Both compressed and non-compressed images are supported.
All TIFF images returned by ImageTools[Read] are converted to grayscale, RGB, or RGBA data.
When writing to TIFF files, ImageTools[Write] produces 8-bit per color channel, contiguous plane, LZW compressed, RGB or grayscale files (depending on the image data to be written).
TIFF reading and writing support is based on Silicon Graphics' "libtiff" library, version 3.6.1. See copyright.
Maple can read all non-compressed Microsoft Windows BMP format files, including 1-bit monochrome, 4-bit and 8-bit color mapped, and 24-bit true color images. Compressed BMP formats are not supported, but the compression provided by BMP is so ineffective for most images that it is almost never used. OS/2 BMP format is also not supported.
When reading 1-bit, 4-bit, or 8-bit color mapped images, ImageTools[Read] returns grayscale data if all the colors in the image's color map are shades of gray, or RGB data otherwise.
Only 8-bit and 24-bit BMP files are supported by ImageTools[Write]. Grayscale data is written in 8-bit color mapped format (where all the colors are shades of gray). RGB data is written in 24-bit true color format.
Examples
See Also
ImageTools, ImageTools[Read], ImageTools[Write]
References
Independent JPEG Group http://www.ijg.org/
Download Help Document