JPEG - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


JPEG (.jpg, .jpeg) File Format

JPEG file format

 

Description

Notes

Examples

Description

• 

JPEG is a popular lossy image data format for compressed raster data.

• 

This format is supported by the ImageTools[Read] and ImageTools[Write] commands. The general-purpose commands Import and Export also support this format.

• 

An image may be specified as the background of a plot with the image option (see plot,options).

• 

The context-sensitive menu can be used to export Maple plot graphics to JPEG format.

• 

Additionally, JPEG images can be inserted directly into a Maple Document.

Notes

• 

Content-Type: image/jpeg

Examples

Create an image and write it out to the home directory of the current user.

withImageTools:

imageCreate100,200,r,c0.251+sin0.005+0.003cc1+sin0.15r,r,c0.51+exp0.02000000000rsin0.05000000000c,r,cr100.0:

testFileFileTools:-JoinPathtest.jpg,base=homedir

/Users/JohnSmith/test.jpg

(1)

WritetestFile,image

4066

(2)

Import a JPEG file from disk and view the underlying data.

Importimages/fingerprint.jpg,base=datadir

Importimages/fingerprint.jpg,base=datadir,output=embed

See Also

Formats

ImageTools[Read]

ImageTools[Write]

plot[options]