GraphicsMagick: coders/tga.c Renamed image attribute "comment" f...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.4610.1665957158.1567.graphicsmagick-commit@lists.sourceforge.net>
changeset 3b2a593f8208 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=3b2a593f8208
summary: coders/tga.c Renamed image attribute "comment" from extended area to "TGA:file.comment" to prevent mix of these 2 comments.

diffstat:

 ChangeLog    |  7 +++++++
 coders/tga.c |  2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r be371336bf7b -r 3b2a593f8208 ChangeLog
--- a/ChangeLog	Fri Oct 14 11:48:35 2022 -0500
+++ b/ChangeLog	Sun Oct 16 23:52:10 2022 +0200
@@ -1,3 +1,10 @@
+2022-10-16    Fojtik Jaroslav  <[email protected]>
+
+        * coders/tga.c Renamed image attribute "comment" from extended area to
+        "TGA:file.comment" to prevent mix of these 2 comments.
+        (Now TGA can produce both "comment" and "TGA:file.comment").
+
+
 2022-10-14    Fojtik Jaroslav  <[email protected]>
 
         * PerlMagick/t/read.t Add new tests for TGA files.
diff -r be371336bf7b -r 3b2a593f8208 coders/tga.c
--- a/coders/tga.c	Fri Oct 14 11:48:35 2022 -0500
+++ b/coders/tga.c	Sun Oct 16 23:52:10 2022 +0200
@@ -448,7 +448,7 @@
             if(status == MagickTrue)	/* TGA devel is valid */
             {
               if(tga_devel.Comments[0] != 0)
-                  SetImageAttribute(image, "comment", tga_devel.Comments);
+                  SetImageAttribute(image, "TGA:file.comment", tga_devel.Comments);
               if(tga_devel.Author[0] != 0)
                   SetImageAttribute(image, "creator", tga_devel.Author);
               if(tga_devel.SoftwareID[0] != 0)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.