Results 1 to 2 of 2
  1. #1
    flok is offline Member
    Join Date
    Sep 2009
    Location
    Gouda, the Netherlands
    Posts
    24
    Rep Power
    0

    Default copying part of a BufferedImage into a Graphics

    Hi,

    In my public void paint(Graphics g)-method I would like to draw part of a BufferedImage that is created elsewhere. Not shrink the bufferedimage, just copy x,y-x+w,y+w into the Graphics-output.
    How can I do that?

  2. #2
    flok is offline Member
    Join Date
    Sep 2009
    Location
    Gouda, the Netherlands
    Posts
    24
    Rep Power
    0

    Default

    Never mind. Got it. Just do a drawImage((Image)bufferedImage, etc.)

Similar Threads

  1. BufferedImage imageScaling
    By MINGxDOG in forum New To Java
    Replies: 2
    Last Post: 11-17-2009, 04:04 PM
  2. BufferedImage through FTP
    By dudejonne in forum New To Java
    Replies: 7
    Last Post: 11-05-2009, 06:36 PM
  3. BufferedImage: Uneven rescale
    By legsmacgee in forum Java 2D
    Replies: 2
    Last Post: 04-24-2009, 11:48 AM
  4. Replies: 0
    Last Post: 07-02-2008, 09:06 PM
  5. BufferedImage to Byte
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-22-2008, 09:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •