×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    158

    N73 and Image.getRGB()

    Hi,

    As reported in fourms already, Image.getRGB() either does not work (hands the app) or would not work realiably. We see unreliablity of getRGB() in N73. For some images it works and for some it thoughs outofmemory error.

    We are looking for a way to get thumb nail of the images and we need getRGB() to be very realiable. Other approach of have the thumb nail is using clip method. However the clip method hands on N73.

    Does any one aware of good thumbnail logic which works perfectly fine on N73. The thumb nail is on the captured photo. I assume the bytes which come from getSnapshot() would be in a encoding as specificed in snapshot parameter.

    B.T.W lie encoding=jpeg etc, could we specify encoding=rgb etc to get the bytes directly in rgb format.

    Regards,
    Raja Nagendra Kumar,
    C.T.O
    www.tejasoft.com

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,406

    Re: N73 and Image.getRGB()

    Hi nagkumar,

    have you tried the approach described here?

    http://miniim.blogspot.com/2008/05/i...d-way-for.html

    It still uses getRGB() method, but does it in an optimized way, to avoid getting all the image data at once (and so, using less memory).

    Hope it helps,
    Pit

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    158

    Re: N73 and Image.getRGB()

    Quote Originally Posted by jappit View Post
    Hi nagkumar,

    have you tried the approach described here?

    http://miniim.blogspot.com/2008/05/i...d-way-for.html

    It still uses getRGB() method, but does it in an optimized way, to avoid getting all the image data at once (and so, using less memory).

    Hope it helps,
    Pit

    Hi Jappit,

    You logic is prety effective in our case on N73 device. We are able to push the application to another extream in functionality.

    Thank you for this.

    Regards,
    Nagendra

Similar Threads

  1. Image.getRGB() problem
    By daregazi in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2008-06-27, 11:11
  2. Serious error in Nokia 6600: Hangs on Image.getRGB and Image.createRGBImage
    By appeal in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2007-09-12, 11:27
  3. Graphics.copyArea() vs Image.getRGB() / Graphics.drawRGB() ?
    By akokchai in forum Mobile Java General
    Replies: 1
    Last Post: 2004-06-23, 04:47
  4. Image.getRGB on 6600 results in cropped image
    By CheekyWirelessUSA in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2003-11-11, 14:51

Posting Permissions

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