Basic question

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?".
Post Reply
Hosting.mgr
Posts: 3
Joined: 2014-04-10T11:00:55-07:00
Authentication code: 6789

Basic question

Post by Hosting.mgr »

Sorry to be the newbie but I have a ton of images (tiff) files that I would like to reduce and I am having a hard time figuring out the command line.

I would like the images reduced to 1024X768 and would appreciate some guidance. I have tried the -resample and -density. Once I get the command line down I can figure out how to convert all the files in a directory. Windows command line
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Basic question

Post by Bonzo »

Code: Select all

convert input.tif -resize 1024X768 output.jpg
This will resize the image so that the longest dimension is either width 1024 or height 768 and will maintain the aspect ratio.
If you want to remove all EXIF data etc. apart from the colour profile use -thumbnail instead of -resize
Hosting.mgr
Posts: 3
Joined: 2014-04-10T11:00:55-07:00
Authentication code: 6789

Re: Basic question

Post by Hosting.mgr »

I am receiving an error "Incorrect value for "Photoshop"; tag ignored. 'TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/850." but it worked. I think the error was throwing me off.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Basic question

Post by fmw42 »

Was that an error or warning. IM will issue warnings if it does not know about some meta tag, but that does not mean anything bad. Tiff based files have many meta tags that can be used to save information, but they do not affect the image pixel data.
Hosting.mgr
Posts: 3
Joined: 2014-04-10T11:00:55-07:00
Authentication code: 6789

Re: Basic question

Post by Hosting.mgr »

Yes they are a warning message. Is there anyway of suppressing those warning?
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Basic question

Post by snibgo »

snibgo's IM pages: im.snibgo.com
Post Reply