Gerald Kaeding on  wrote...
| 
| Hallo together,
| 
| i like to save some special informations (like author, place and so on) i=
| n the metainformation of the PNG file. But how? I'm using magick++.  Unfo=
| rtunately I haven't found any information about this topic in the mailing=
|  list or the imagemagick website. Maybe is this the answer (their is no w=
| ay to edit the metainformations)?
| 

Meta-information in images are preserved by IM, and usally listed by a
verbose "identify".  If any information is  not preserved by default, it
is a bug and reported ASAP.

The data is stored with the image in two strutures, one global to a
image sequnence, the other attached to each and every image.  The -set
option is a free-form meta-data handler for both lists.

The problem is IM does not use all the meta-data available.  It can't
there are just too many image and application specific options for it to
try to do this!  Each and every image file format has its own unique set
of meta-data, and IM is a general image processor.  So unless it has
some requirement to use some image specific information, it generally
does not.

It gets worse when you consider profiles.

Profiles in a Image File format can basically be anything.  It is just a
block of data in the image file that can be anything from a single
string to a complex data structure or even executable code!  They is
generally used by specific applications for information specific to that
application.

For example EVEN IM will save a very small profile containing an images
virtual canvas size for use by later IM applications.  If it is not
present it calcualtes something appropriate to ensure a PNG image
'-flatten's properly given the PNG virtual canvas offset information.

Only a few profiles (generally involved with color handling) is
specifically known to IM and that will always be the case, unless
someone is willing to do the work for specific profiles.

You can extract, save, replace profile information from images using IM,
but interpreting a general unknown profile is imposible.


See IM Examples, Common File Formats, Profiles
   http://imagemagick.org/Usage/formats/#profiles

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
         The universe is run by the complex interweaving of 3
         elements; energy, matter, and,  enlightened self interest.
                                         --  Ambassador G'Kar - Bablyon 5
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to