Search found 3 matches

by pdc
2014-09-02T01:39:37-07:00
Forum: Users
Topic: When scaling are pixel sizes always rounded UP?
Replies: 3
Views: 1326

Re: When scaling are pixel sizes always rounded UP?

Correcting myself … Where I was going wrong was sometimes when resizing a large image in to N different sizes we used one of the biggish resized images to make the smaller ones instead of the massive source image: this naturally leads to rounding errors so that the final size does not match the size ...
by pdc
2014-09-01T06:23:44-07:00
Forum: Users
Topic: When scaling are pixel sizes always rounded UP?
Replies: 3
Views: 1326

Re: When scaling are pixel sizes always rounded UP?

snibgo wrote:What version of IM, on what platform?

On IM v6.8.9-5, Windows 8.1, I get 281:
Thanks, snibgo. It looks like I need to pass my calculated dimensions to ImageMagick explicitly rather than trying to make my calculation match ImageMagick’s.
by pdc
2014-09-01T04:55:59-07:00
Forum: Users
Topic: When scaling are pixel sizes always rounded UP?
Replies: 3
Views: 1326

When scaling are pixel sizes always rounded UP?

Here's a quick dumb question for you: Given an image with dimensions 1600 by 900, when I resize it with -resize 500x500> then I get an image that is 500 by 282. That is, the height is rounded up to the nearest pixel rather than rounded to the nearest whole pixel (which would have been 281). In my ...