Results 1 to 3 of 3
  1. #1
    Pojahn_M's Avatar
    Pojahn_M is offline Senior Member
    Join Date
    Mar 2011
    Location
    Sweden
    Posts
    197
    Rep Power
    4

    Default How do I change canvas of a BufferedImage object?

    As title say, how do I change the canvas of a BufferedImage object?
    There is no "setHeight" or setWidth" methods.

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,969
    Rep Power
    8

    Default Re: How do I change canvas of a BufferedImage object?

    What do you mean by "canvas"? Are you using AWT instead of Swing? If you want help, you should provide an SSCCE that demonstrates what you're talking about.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Pojahn_M's Avatar
    Pojahn_M is offline Senior Member
    Join Date
    Mar 2011
    Location
    Sweden
    Posts
    197
    Rep Power
    4

    Default Re: How do I change canvas of a BufferedImage object?

    There is no BufferedImage in Swing. So I am using AWT.
    I want to re-size the canvas. You know, canvas, when you re-size canvas, the pictures dimensions get bigger, but the image inside remain the same.

Similar Threads

  1. Wanting to change from a single object to an array.
    By david522 in forum New To Java
    Replies: 6
    Last Post: 05-24-2011, 02:24 PM
  2. Replies: 3
    Last Post: 05-02-2011, 04:37 AM
  3. Change BufferedImage background color
    By Nosrettap in forum New To Java
    Replies: 0
    Last Post: 03-20-2011, 11:29 PM
  4. Object Draw canvas Text
    By kyle.g in forum New To Java
    Replies: 0
    Last Post: 07-27-2010, 09:54 PM
  5. change object color on mouse click
    By gotenks05 in forum Java Applets
    Replies: 1
    Last Post: 04-05-2009, 07:14 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
  •