Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > copy tile from image

Reply
Thread Tools

copy tile from image

 
 
Ray Bohnenberger
Guest
Posts: n/a
 
      09-29-2003
i want to copy a rectangle from an image to another image.. something like

copyTile(input,output,x,y,width,height,xpos,ypos);

copy from imput-image pos x,y size width*height to output-image xpos,ypos..`

im using java.awt.*; and here Graphics2D:
g2.drawImage(inim,xps,ypos,size_x,size_y, null); works nice, but scales my
Tile.. i dont want that.. where is my error?


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is Deep Copy, shallow copy and bitwises copy.? saxenavaibhav17@gmail.com C++ 26 09-01-2006 09:37 PM
How can I tile an Image over top of a DIV tag? =?Utf-8?B?SmVmZkRvdE5ldA==?= ASP .Net 3 02-13-2006 05:47 AM
is dict.copy() a deep copy or a shallow copy Alex Python 2 09-05-2005 07:01 AM
struts / tiles put not visible inside tile Rob D Java 1 08-30-2004 04:26 PM
Game Tile Layout Help andrew arthur Java 2 06-08-2004 04:47 PM



Advertisments