my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes Line appears in image after scaling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
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
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

Moving to our GUI forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Line appears in image after scaling
 
Similar Threads
Resize an image while maintaing its aspect ratio..
saving transformed images
Resizing Large JPG Problem
new image after rotate
Rotate an Image on server side