[magick-users] How to convert image format(e.g. GIF to JPG) using Magick++ API?

Anthony Thyssen anthony at griffith.edu.au
Thu Jul 5 19:47:23 PDT 2007


Michael on  wrote...
| Dear All
|      Which Magick++ API can convert the image format from one to another(e.g.
| GIF to JPG) ?
|      How can I do it ?
|      Thanks a lot.

All ImageMagick APIs can do this.  Just read a GIF and write to a JPG
the file suffix is usally used to determine the output format.
Whch reading a suffix is only used if it can not determine it from the
input data (the files 'magic', see the "file" command).

  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
  Wiz : Our explanations are real. A virtual explanation would be
        something that acted like an explanation, but wasn't.
  Moira : I rest my case.                 -- Rick Cook, "Wizardry Cursed"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list