"The following tags were not closed: x:xmpmeta, rdf:RDF"

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Gaploid
Posts: 17
Joined: 2013-08-25T03:51:34-07:00
Authentication code: 6789

"The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by Gaploid »

Hi,
Looks like there is some issues with converting eps to jpeg (convert.exe XXX.eps yyyy.jpeg). I`v tried to convert this file https://dl.dropboxusercontent.com/u/739 ... raphic.eps to jpeg and got this file https://dl.dropboxusercontent.com/u/7392238/PAPER.jpeg the result file is corrupted with this error "following tags were not closed: x:xmpmeta, rdf:RDF, rdf:Description, xmpTPg:SwatchGroups, rdf:Seq, rdf:li, xmpG:Colorants, rdf:Seq, rdf:li.". If i convert it to png the result file is fine. I'm not sure is that a problem of imagemagick or ghostscript.

Victor
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: "The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by snibgo »

What version of IM and what platform? What software shows the errors?

On IM v6.8.6-5 on Windows 7, renaming your file "paper.eps" and doing ...

Code: Select all

convert paper.eps p.jpg
... Windows Photo Viewer complains that p.jpg is corrupt. However, Gimp and IM's identify and convert can all read it.

Code: Select all

convert paper.eps paper.png
All software can read p.png with no problem.
snibgo's IM pages: im.snibgo.com
Gaploid
Posts: 17
Joined: 2013-08-25T03:51:34-07:00
Authentication code: 6789

Re: "The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by Gaploid »

Hi,
This was done with latest version of IM:

Code: Select all

C:\Users\Gaploid\Desktop\ImageMagick-6.8.6-9>convert.exe -version
Version: ImageMagick 6.8.6-9 2013-08-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib freetype jbig jng jp2 jpeg lcms png ps png tiff webp x xml zlib
And latest version ghostscript - 9.09 on windows 7 machine. This error shows standard windows photo viewer and standard image viewer on windows phone
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: "The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by snibgo »

I agree that there is a problem. IM should not create a bad JPEG.

jpegtran throws many errors on my p.jpg.

A developer would need to investigate.
snibgo's IM pages: im.snibgo.com
Gaploid
Posts: 17
Joined: 2013-08-25T03:51:34-07:00
Authentication code: 6789

Re: "The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by Gaploid »

Thanks any time-frame?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: "The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by snibgo »

Sorry, I'm not a developer.

A workaround is to save in some other format then read from that format, eg:

Code: Select all

convert paper.eps -write temp.png +delete temp.png p2.jpg
(Using .miff as the intermediate format would be faster, but it seems to carry the bad metadata across to the output file.)

Or another simpler workaround:

Code: Select all

convert paper.eps -strip p2.jpg
snibgo's IM pages: im.snibgo.com
Gaploid
Posts: 17
Joined: 2013-08-25T03:51:34-07:00
Authentication code: 6789

Re: "The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by Gaploid »

I can just use png as an output. That is fine for me.
Gaploid
Posts: 17
Joined: 2013-08-25T03:51:34-07:00
Authentication code: 6789

Re: "The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by Gaploid »

Guys any update on this bug?
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: "The following tags were not closed: x:xmpmeta, rdf:RDF"

Post by dlemstra »

I will take a look at it.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply