File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
How to copy image with given points?
au lai seong
Joined: Mar 06, 2011
Nov 01, 2011 23:42:21
How to copy/crop with given points? The number of point maybe more than 4.
Joined: Jul 25, 2011
Jan 08, 2012 21:22:22
What do you mean by points? The standard image classes just have one point, with an (x, y) location. Please be more specific.
Stephan van Hulst
Joined: Sep 20, 2010
Jan 09, 2012 08:05:47
I'm thinking the original poster wants to define a polygon, and create a new image that is the intersection of the original image and the polygon.
Take a look at the Graphics class. You can get an instance of it from an instance of Image.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: How to copy image with given points?
Same old question about clone(). How ???
util for detecting given point is within given region/points(circle, rectangle...)
singleton vs multiton data object
is this strange
PolyLine or Polygon?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014