Page 1 of 1

error message on exporting from Lightroom

Posted: 2019-04-23T05:31:05-07:00
by rt-schwabe
Hello

I am getting this error log from time to time when exporting images. It worked well in the past but after I had to set up my Lightroom it keeps getting this error lines.
mogrify.exe: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/1727.
mogrify.exe: memory allocation failed `C:\Users\xxxxx\AppData\Local\Temp\LR-7.jpg' @ error/jpeg.c/ReadProfile/777.
mogrify.exe: Improper call to JPEG library in state 201 `C:\Users\xxxxx\AppData\Local\Temp\LR-7.jpg' @ error/jpeg.c/JPEGErrorHandler/328.


The error occured when trying to run this command:
""C:\Program Files\ImageMagick-7.0.8-Q16\mogrify.exe" -virtual-pixel mirror -font "Arial" -undercolor "rgba(0, 0, 0, 0.0)" -gravity SouthWest -fill "rgba(45.00%,45.00%,45.00%,1.00)" -density 72 -pointsize 25 -annotate 0x0+20+20 "@C:\Users\xxxx\AppData\Local\Temp\lr2mtext-8.utf8" -density 120 -depth 16 -strip -type TrueColor -quality 81 "C:\Users\THORST~1\AppData\Local\Temp\LR-7.jpg" 1> "C:\Users\xxxx\Desktop\LRMogrify2_log.txt" 2>&1"


How can I try to fix this?

thanks
Thorsten

Re: error message on exporting from Lightroom

Posted: 2019-04-23T05:49:08-07:00
by snibgo
What version IM? What does "mogrify -version" say?

Mogrify is complaining that LR-7.jpg contains a corrupt xmp profile.

If you upload that file to somewhere and paste a link to it, we can take a look.

Re: error message on exporting from Lightroom

Posted: 2019-04-25T07:12:17-07:00
by rt-schwabe
Hello

here is a link to this image file http://www.aero-naut.de/uploads/LR-7.jpg

I downloaded the last version of IM and I also tried version 6.8 with same results.

Re: error message on exporting from Lightroom

Posted: 2019-04-25T07:45:35-07:00
by snibgo
rt-schwabe wrote:I downloaded the last version of IM and I also tried version 6.8 with same results.
Those are vague. Please give the exact version numbers, as reported by "convert -version".

IM v6.9.9-50 and v7.0.7-28 read that file with no problem.

Re: error message on exporting from Lightroom

Posted: 2019-04-25T09:02:36-07:00
by rt-schwabe
7.0.8-Q16

Re: error message on exporting from Lightroom

Posted: 2019-04-25T09:23:47-07:00
by snibgo
For me...

Code: Select all

magick -version
... says ...

Code: Select all

Version: ImageMagick 7.0.7-28 Q16 x64 2018-03-25 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC HDRI Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr
 openexr pangocairo png ps raw rsvg tiff webp xml zlib
So I have v7.0.7-28. What does yours say?

As your version (which has an error) is later than mine (which works), either IM has become stricter, or there is a bug. A developer might take a look.

Re: error message on exporting from Lightroom

Posted: 2019-04-25T09:28:36-07:00
by fmw42
In IM 7, you need to use magick mogrify, not mogrify. Check with your Lightroom supplier to see if they support IM 7

Re: error message on exporting from Lightroom

Posted: 2019-04-26T05:08:28-07:00
by rt-schwabe
I had the same problem with a version 6.xx of IM. I updated to version 7 as I was hoping to get this error solved. But it didn't. So I dont think it is a problem caused by IM7.

Re: error message on exporting from Lightroom

Posted: 2019-04-26T05:11:18-07:00
by rt-schwabe
mogrify.exe: CorruptImageProfile `xmp' @ warning/profile.c/SetImageProfileInternal/1727.
mogrify.exe: memory allocation failed `C:\Users\THORST~1\AppData\Local\Temp\LR-2-5.jpg' @ error/jpeg.c/ReadProfile/777.
mogrify.exe: Improper call to JPEG library in state 201 `C:\Users\THORST~1\AppData\Local\Temp\LR-2-5.jpg' @ error/jpeg.c/JPEGErrorHandler/328.


The error occured when trying to run this command:
""C:\Program Files\ImageMagick-6.9.10-Q16\mogrify.exe" -virtual-pixel mirror -font "Arial" -undercolor "rgba(0, 0, 0, 0.0)" -gravity SouthWest -fill "rgba(45.00%,45.00%,45.00%,1.00)" -density 72 -pointsize 25 -annotate 0x0+20+20 "@C:\Users\xxxx\AppData\Local\Temp\lr2mtext-11.utf8" -density 120 -depth 16 -strip -type TrueColor -quality 81 "C:\Users\THORST~1\AppData\Local\Temp\LR-2-5.jpg" 1> "C:\Users\xxxx\Desktop\LRMogrify2_log.txt" 2>&1"

Re: error message on exporting from Lightroom

Posted: 2019-04-26T07:36:48-07:00
by magick
We downloaded the latest ImageMagick release (7.0.8-41) onto our Windows 7 VM. Your LR.jpg image converted without complaint. We do not have access to your LR-2-5.jpg image. We're clueless why its throwing an exception for you.