displaying a file in a smaller format.

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
kareldeg
Posts: 2
Joined: 2014-08-18T05:22:06-07:00
Authentication code: 6789

displaying a file in a smaller format.

Post by kareldeg »

Hello, I am amazed by Imagemagick, and bit by bit learning the tricks, but I can not figure out how to view a file (picture) in a small format. If I use display, it shows my picture in full format, bigger than my screen. Would there be a command on the command line to view a file in a specific dimension, without altering (resampling) the file?

Thanks a lot for helping out.

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

Re: displaying a file in a smaller format.

Post by snibgo »

It depends on your platform. On Windows, Microsoft Photo Viewer works well for me. Some people like Irfan Viewer.
snibgo's IM pages: im.snibgo.com
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: displaying a file in a smaller format.

Post by glennrp »

Code: Select all

display -geometry 25% file
Change 25% to whatever reduction you prefer.
kareldeg
Posts: 2
Joined: 2014-08-18T05:22:06-07:00
Authentication code: 6789

Re: displaying a file in a smaller format.

Post by kareldeg »

Thanks for answering, I guess my question was not that clear, but thanks for the answers. And yes, glennrp, that's exactly what I was looking for.
Cheers,
Karel
Post Reply