permaculture playing cards*
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
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: 53
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: 19656
    
  18

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
img tag does not display image
how to remove unwanted pixels from image
Writing Image Bytes on Response Stream
Modifying the ImagePicker Controller