IntelliJ Java IDE
The moose likes Swing / AWT / SWT / JFace and the fly likes Line appears in image after scaling Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Line appears in image after scaling" Watch "Line appears in image after scaling" New topic
Author

Line appears in image after scaling

Markus Svensson
Greenhorn

Joined: Mar 31, 2009
Posts: 4
Hi,

I'm having a problem with image scaling. When I use the following code to scale an image it ends up with a line either at the bottom or on the right side of the image.

The original image is here: http://tinyurl.com/yzv6r7h
The scaled image: http://tinyurl.com/yk6e8ga

Does anyone know why the line appears?

Thanks!
Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 18365

Moving to our GUI forum.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
 
subject: Line appears in image after scaling
 
Threads others viewed
saving transformed images
new image after rotate
Rotate an Image on server side
Resizing Large JPG Problem
Resize an image while maintaing its aspect ratio..
developer file tools