error message on exporting from Lightroom

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
rt-schwabe
Posts: 5
Joined: 2019-04-23T05:27:55-07:00
Authentication code: 1152

error message on exporting from Lightroom

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: error message on exporting from Lightroom

Post 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.
snibgo's IM pages: im.snibgo.com
rt-schwabe
Posts: 5
Joined: 2019-04-23T05:27:55-07:00
Authentication code: 1152

Re: error message on exporting from Lightroom

Post 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.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: error message on exporting from Lightroom

Post 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.
snibgo's IM pages: im.snibgo.com
rt-schwabe
Posts: 5
Joined: 2019-04-23T05:27:55-07:00
Authentication code: 1152

Re: error message on exporting from Lightroom

Post by rt-schwabe »

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

Re: error message on exporting from Lightroom

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: error message on exporting from Lightroom

Post 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
rt-schwabe
Posts: 5
Joined: 2019-04-23T05:27:55-07:00
Authentication code: 1152

Re: error message on exporting from Lightroom

Post 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.
rt-schwabe
Posts: 5
Joined: 2019-04-23T05:27:55-07:00
Authentication code: 1152

Re: error message on exporting from Lightroom

Post 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"
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: error message on exporting from Lightroom

Post 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.
Post Reply