Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2007

    Thumbnail of JPEG image for J2me application.

    Hi ,

    I am developing j2me application for creating thumbnail of Jpeg , GIF images.
    But i am getting problem if image size is large. Application through exception - "memory out of bound".

    Please help.

    Thanks in advance.

  2. #2
    Registered User
    Join Date
    Oct 2006

    Re: Thumbnail of JPEG image for J2me application.


    I was looking for the same thing ..
    May be you can try the code here ..

    -- Thanks
    Kamanashis Roy

  3. #3
    Registered User
    Join Date
    Dec 2004

    Re: Thumbnail of JPEG image for J2me application.

    yes some devices limit the max memory available for graphics/images.
    so u cant have like a 1 mb image size of jpeg loaded to memory using image.createImage since it translate into bit map rgb and thats way way way too much for most handsets.

  4. #4
    Nokia Developer Champion
    Join Date
    Nov 2007
    Rome, Italy

    Re: Thumbnail of JPEG image for J2me application.

    Shaii is correct about memory issues, anyway the linked code should be good since it tries to optimize memory management reading the source image row by row.


Similar Threads

  1. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  2. bluetooth application sending image
    By vivek.singh in forum Bluetooth Technology
    Replies: 1
    Last Post: 2006-10-29, 10:25
  3. Jpeg image getting saved in monochrome . Help !!
    By razas in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2005-09-20, 13:19
  4. Automatic compression of image by application
    By nmittal in forum Symbian User Interface
    Replies: 0
    Last Post: 2002-08-20, 12:54

Posting Permissions

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