Hi,

Thanks for the reply, orientation looks like an issue here, I listed three
samples, Original, resized by preview and resized by IM below.
my question is, why I can not get a 800 x 1200 with "convert FLOOR.JPG
-resize 800x FLOOR2.JPG", am I missing something here?

Thanks,

Angelo

#1 original:

FLOOR.JPG JPEG 5184x3456 5184x3456+0+0 8-bit DirectClass 4.627MB 0.000u
0:00.000
Class: DirectClass
Geometry: 5184x3456+0+0
Resolution: 72x72
Print size: 72x48
Units: PixelsPerInch
exif:Model: Canon EOS 550D
   exif:Orientation: 6

#2 resized using Mac's Preview:
FLOOR_preview.jpg JPEG 800x1200 800x1200+0+0 8-bit DirectClass 200KB 0.000u
0:00.000

Class: DirectClass
Geometry: 800x1200+0+0
Resolution: 72x72
Print size: 11.1111x16.6667
Units: PixelsPerInch
Type: TrueColor
exif:Model: Canon EOS 550D
  exif:Orientation: 1
  exif:ResolutionUnit: 2


#3 resized with "convert FLOOR.JPG -resize 800x FLOOR2.JPG"
FLOOR2.JPG JPEG 800x533 800x533+0+0 8-bit DirectClass 208KB 0.000u 0:00.000

Format: JPEG (Joint Photographic Experts Group JFIF format)
  Class: DirectClass
  Geometry: 800x533+0+0
  Resolution: 72x72
  Print size: 11.1111x7.40278
  Units: PixelsPerInch
  Type: TrueColor
  Endianess: Undefined
  Colorspace: RGB

        exif:Model: Canon EOS 550D
    exif:Orientation: 6

AngeloChen wrote:
> 
> Hi,
> 
> I have a jpeg of 3456 × 5184, using OS X preview to resize its width to
> 800, I got a jpeg with 800 × 1200.
> now if I run this command:
> 
> convert sample.jpg -resize 800x test.jpg
> 
> I got 533 × 800
> 
> my ImageMagick is ImageMagick 6.7.1-5.
> 
> I have to run :
> 
> convert sample.jpg -resize x800 test.jpg
> this will give me a 800x1200
> 
> I thought to specify the width it is 800x, x800 is to specify the height,
> am I missing something here? Thanks.
> 
> 

-- 
View this message in context: 
http://old.nabble.com/resizing-a-portrait-jpeg%27s-width-tp32259424p32262187.html
Sent from the Magick-users mailing list archive at Nabble.com.


_______________________________________________
Magick-users mailing list
Magick-users@imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to