Dear All,
I am working with ImageMagick7 to convert files from jpg to tiff (OS = Windows 10). For instance:
cd\temp\Bildquelle
C:\Programme\ImageMagick-7.0.6-Q16\magick mogrify -path C:\temp\Bildablage -format tif -compress LZW *.jpg
It works perfectly but when I import the converted file to MS Word (2000 or 2009) it changes to green; when I import the same file into Open Office the picture stays the same.
Does anyone know an explanation for that and a smart solution to solve the problem?
Thanks for your help and assistance
Uli W
tiff convertion changes to green
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: tiff convertion changes to green
IM 7.0.6 is a bit old. Perhaps an upgrade will help. Can you provide an example JPG input and your output. We can then test own more current versions of Imagemagick. Have you tried convert a single jpg to tiff using magick rather than magick mogrify?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: tiff convertion changes to green
P.S. You can upload your images to some free hosting service (such as dropbox.com) and put the URLs here.
Re: tiff convertion changes to green
Dear fmw42, thank you for your answer. The picture stays the same when I open, save and close it with Irfan View.
The pictures are on my server https://my.hidrive.com/share/ilcanl9rje
UliW
The pictures are on my server https://my.hidrive.com/share/ilcanl9rje
UliW
Re: tiff convertion changes to green
I am working with IM 7.0.6 Q16 and tried IM 7.0.7 Q16. The result is the same.
UliW
UliW
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: tiff convertion changes to green
I took your first image and renamed it since it has spaces in the name. This works fine for me on IM 7.0.7.9 Q16 Mac OSX
Try that.
I am using jpeg @9b_0 and tiff @4.0.8_0. Perhaps you need to update your delegates.
What do you get from
Code: Select all
magick image1.jpg -compress lzw image1.tif
I am using jpeg @9b_0 and tiff @4.0.8_0. Perhaps you need to update your delegates.
What do you get from
Code: Select all
magick -version
Re: tiff convertion changes to green
Dear fmw42, what does this mean: "Perhaps you need to update your delegates"?
When I convert the picture to bmp there is no problem with the import in ms word.
When I convert the picture to bmp there is no problem with the import in ms word.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: tiff convertion changes to green
Imagemagick uses many different delegate libraries to convert images. Some formats it does internally others it makes use of standard libraries. That is the case for jpg and for tif and for png. It handles bmp internally, I believe.
See http://www.imagemagick.org/script/formats.php and http://www.imagemagick.org/download/delegates/
I do not know if the second link has the most current delegates. You can often find out what versions you have by
For example:
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (90)
TIFF* TIFF rw+ Tagged Image File Format (LIBTIFF, Version 4.0.8)
should tell you which delegates you are using.
See http://www.imagemagick.org/script/formats.php and http://www.imagemagick.org/download/delegates/
I do not know if the second link has the most current delegates. You can often find out what versions you have by
Code: Select all
convert -list format
JPG* JPEG rw- Joint Photographic Experts Group JFIF format (90)
TIFF* TIFF rw+ Tagged Image File Format (LIBTIFF, Version 4.0.8)
Code: Select all
convert -version
Re: tiff convertion changes to green
Dear fmw42,
thank you for the detailed and helpfull answer.
Best
UliW
thank you for the detailed and helpfull answer.
Best
UliW