Post Reply 

Image scaling asymmetry

Apr 21, 2012, 14:02 (This post was last modified: Apr 21, 2012 14:09 by spiderplant0.)
Post: #1
Image scaling asymmetry
Hi, When I shrink an image, the result seems to be distorted.

I have an image 850x850.
I go: Menu > Image > Scale Image > and set height and width to 306 px
I get the same error no matter what scaling algorithm I use.

See images below, the one scaled by the GIMP has the black circle noticeable shifted to the right hand side. The white gap between the red and the black circles is 6 px on the LHS and it is 3 px on the RHS (measured at the widest part of the circles) . To compare, I have also scaled the image using another image manipulation program (IrfanView) - it scales it properly.

scaled by the GIMP....

scaled by Irfanview...

Is there any setting that you think I may have set incorrectly to get this problem?
(Under the View menu, I dont have any "snap to..." checked.)

The test source file is the scaleBug.xcf attachment.

I'm on GIMP 2.6.11, Windows 7 64bit.


Attached File(s)
.xcf  scaleBug.xcf (Size: 72.43 KB / Downloads: 30)
Find all posts by this user
Quote this message in a reply
Apr 21, 2012, 20:05
Post: #2
RE: Image scaling asymmetry
Thanks ofnuts.
The artefact was indeed caused by the multiple layers - I merged all layers , then scaled and it worked fine.

Also, just to explain my test image....
1) The quality of the circles and the centring is not relevant here. This was just an example to show the bug. I was getting the misalignment in arbitrary shapes. The circles just made it easier to see the misalignment.
2) The error in placement is 3px! So a shift error of 1.5px. An inevitable consequence of rounding? Hardly.
Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  After floating a layer, how do you return the selection to the whole image? ithortureu 1 85 May 13, 2018 07:15
Last Post: paynekj
  Opening an image problem mes2370 1 117 May 11, 2018 15:20
Last Post: paynekj
  Scaling layer does not scale alpha! WallyZ 1 197 Apr 3, 2018 06:22
Last Post: blighty
Question How to automate "Autocrop Image"? javierdl 2 170 Mar 28, 2018 18:49
Last Post: javierdl
  Insert image on a screen under fingers AmandineViaud 1 139 Mar 28, 2018 06:03
Last Post: paynekj

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS