aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes java images 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 "java images" Watch "java images" New topic
Author

java images

Grega Leskovšek
Ranch Hand

Joined: Nov 13, 2008
Posts: 49
How to show just part of image - if I want to cut my image in 4x4 squares? And I want to show only a single square?
Is there a net way to do it?


--Always, Grega from Peace refuge
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19538
    
  16

You can use CropImageFilter:


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: java images
 
Similar Threads
Adjusting image size to image label
how to remove unwanted pixels from image
Writing Image Bytes on Response Stream
Modifying the ImagePicker Controller
img tag does not display image