A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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.
Don't get me started about those stupid
subject: How to copy image with given points?
singleton vs multiton data object
is this strange
PolyLine or Polygon?
Same old question about clone(). How ???
util for detecting given point is within given region/points(circle, rectangle...)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014