Exporting Images
Before going back to adding folders via drag and drop, I though it might be interesting to look at ways of exporting the images.
The simplest way would be to use MPI's
Pictures module.
Select the object and choose an option (there are quite a few) from the popup menu.
More often we will want to export from a script. SuperCard supports many image formats and has powerful export capabilities.
simplest:
export pictureData of cd grc "imagedisplay" to clipboard
To export to a jpeg file:
Ask file "Name a file:" with "export.jpg"
if it is "" then exit to supercard
export the picturedata of cd grc "imageDisplay" to JPEG file it
We can export to different qualities of jpeg too:
export the picturedata of cd grc "imageDisplay" to JPEG file it with qualitySpec quality
We are not limited to JPEG files SC exports to: bmp, jpeg, Photoshop, png, interlaced png, qtif, tiff, compressed tiff, and tga.
So we could add an
Export button and give it a script to export to the format we want.