display -size not working
Posted: 2018-06-29T08:27:17-07:00
When I show an image using
This is far too large of an image for my display, so I tried to modify the options with
The image displayed, but it did nothing to the geometry of the image. It was just as large as before.
So I ran the command again, this time using the debug option
Other statistics:
I know the current version of ImageMagick is at release 7 now, but still... it seems like this should work. Any thoughts?
Thanks!
David
Code: Select all
$ display -verbose IMG_0017.JPG
IMG_0017.JPG JPEG 3072x2048 3072x2048+0+0 8-bit sRGB 2.818MB 0.090u 0:00.220
Code: Select all
$ display -size 1024x768 IMG_0017.JPG
So I ran the command again, this time using the debug option
Code: Select all
$ display -debug -size 1024x768 IMG_0017.JPG
display: unrecognized event type `-size' @ error/display.c/DisplayImageCommand/901.
Code: Select all
$ which display
/usr/bin/display
$ display -version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-06-11 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
$ sudo apt install imagemagick
Reading package lists... Done
Building dependency tree
Reading state information... Done
imagemagick is already the newest version (8:6.8.9.9-7ubuntu5.11).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Thanks!
David