Page 1 of 1
ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-10T01:58:45-07:00
by skatedan
Hi, i need to use this version of IM on my server, it works fine on machine 32 bit, but now i have a new machine 64 bit and it doesn't work on this machine.
This version don't convert a .tif image into .pdf, i tring to do it using command line :
Code: Select all
-resample 200x200 fileNameTIFF convertedPdf
and it doesn't work, don't create a pdf file.
Anyone can help me ?
Thanks.
Dan.
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-10T03:00:16-07:00
by snibgo
What version of IM? What does "convert -version" or "magick -version" say? Do you get an error message?
Your command is incomplete. It should start "convert" or "magick", and then have an input image. Filenames usually have a dot "." in them.
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-10T04:52:00-07:00
by skatedan
hi, tx for the reply, the version of IM is 6.6.9.
The command i think it'ok because in 32 bit work all fine.
fileNameTIFF contains pathINPUT\filename.extension
convertedPdf contains pathINPUT\filename.extension.
Thanks
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-10T12:31:32-07:00
by snibgo
What error message do you get?
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-14T03:35:40-07:00
by skatedan
i don't receive any errors, image can't create
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-14T03:55:39-07:00
by Bonzo
What happens if you hardcode the paths and have them both in the same directory?
Can you create a jpg output?
What happens if you have a jpg input and output?
Have you tried it with convert at the start as snibgo suggested?
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-14T05:18:06-07:00
by snibgo
Let's try a simple checklist. First, we test whether IM works at all. What happens with these commands:
Code: Select all
convert -version
convert rose: r.png
convert rose: r.jpg
convert rose: r.pdf
What text output do you get? Do you get the three files?
Now "dir" the tiff file you want to convert. What does dir say about it?
Now try converting it.
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-15T05:39:39-07:00
by skatedan
This commands return me this:
Code: Select all
C:\Program Files\ImageMagick-6.6.9-Q16>convert -version
Version: ImageMagick 6.6.9-6 2011-04-14 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP
C:\Program Files\ImageMagick-6.6.9-Q16>convert rose: r.png
Magick: no decode delegate for this image format `' @ error/constitute.c/ReadIma
ge/532.
Magick: missing an image filename `r.png' @ error/convert.c/ConvertImageCommand/
3011.
C:\Program Files\ImageMagick-6.6.9-Q16>convert rose: r.jpg
Magick: no decode delegate for this image format `' @ error/constitute.c/ReadIma
ge/532.
Magick: missing an image filename `r.jpg' @ error/convert.c/ConvertImageCommand/
3011.
C:\Program Files\ImageMagick-6.6.9-Q16>convert rose: r.pdf
Magick: no decode delegate for this image format `' @ error/constitute.c/ReadIma
ge/532.
Magick: missing an image filename `r.pdf' @ error/convert.c/ConvertImageCommand/
3011.
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-15T06:03:04-07:00
by snibgo
So, your installation doesn't work. v6.6.9 is also very old. I suggest you remove it, and install a more recent version of ImageMagick. For v6, see
http://legacy.imagemagick.org/script/bi ... hp#windows . For v7, see
http://www.imagemagick.org/script/download.php#windows .
Re: ImageMagick-6.6.9-Q16 on Windows 64 Bit
Posted: 2017-11-15T06:36:30-07:00
by skatedan
tx, using version 6.9.9 it works fine, but only by cmd, while if i use same command in .NET program doesn't create a file in one directory
EDIT: i give a full acces to my folder and now .NET program create a file, but now create a file that can't be open. Anyone can help me?