resize image in Java
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: resize image in Java

  1. #1
    Join Date
    Mar 2010
    Posts
    1

    resize image in Java

    Hi,

    I can load image but i don't know how can i resize image?
    My class to load image:
    Code:
    public void WczytajObrazek(String path)
    {
    File flPlik= new File(path);
    imgObrazek= new BufferedImage(10,10, BufferedImage.TYPE_INT_RGB);
    try
    {
    imgObrazek=ImageIO.read(flPlik);
    }
    catch(IOException e)
    {
    System.out.println(e.getMessage());
    }
    }


    my thread is in forum CentOS

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: resize image in Java

    Try this
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center