aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 19541
    
  16

Moving to our GUI forum.


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