Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
skatedan
Posts: 6 Joined: 2017-11-10T01:50:16-07:00
Authentication code: 1152
Post
by skatedan » 2017-11-10T01:58:45-07:00
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.
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-11-10T03:00:16-07:00
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.
skatedan
Posts: 6 Joined: 2017-11-10T01:50:16-07:00
Authentication code: 1152
Post
by skatedan » 2017-11-10T04:52:00-07:00
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
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-11-10T12:31:32-07:00
What error message do you get?
skatedan
Posts: 6 Joined: 2017-11-10T01:50:16-07:00
Authentication code: 1152
Post
by skatedan » 2017-11-14T03:35:40-07:00
i don't receive any errors, image can't create
Bonzo
Posts: 2971 Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England
Post
by Bonzo » 2017-11-14T03:55:39-07:00
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?
snibgo
Posts: 12159 Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK
Post
by snibgo » 2017-11-14T05:18:06-07:00
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.
skatedan
Posts: 6 Joined: 2017-11-10T01:50:16-07:00
Authentication code: 1152
Post
by skatedan » 2017-11-15T05:39:39-07:00
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.
skatedan
Posts: 6 Joined: 2017-11-10T01:50:16-07:00
Authentication code: 1152
Post
by skatedan » 2017-11-15T06:36:30-07:00
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?