×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Camera 3.2 megapixel image

    Hi,
    i have an application which uses jsr234 for taking snapshot.The picture taken has 3.2 megapixel size,but i couldnt generate a thumbnail from the captured image.Any ideas from anyone.

    thanks
    Soku

  2. #2
    Regular Contributor
    Join Date
    Aug 2006
    Posts
    307

    Re: Camera 3.2 megapixel image

    IMHO if heap memory wouldn't be enough for any transforming code (based on byte[] or rgb[] data), would it be a solution if N really small Image objects would be created from the Image.createImage(Image src, int x, int y, int width, int height, int transform) method.

    I mean if a thumbnail will be created from N really small images, using pixel data from the specified N regions of a source image. Later these N small images would be putted together next to each other to create some sort of previewing thumbnail.

    The same result would be achieved with the Graphics.drawRegion(Image src, int x_src, int y_src, int width, int height, int transform, int x_dest, int y_dest, int anchor) method.

    And a very ugly and simple solution for this problem would be shooting the small thumbnail image just after the snapshot was taken.

  3. #3
    Super Contributor
    Join Date
    Feb 2006
    Posts
    689

    Re: Camera 3.2 megapixel image

    Hi,
    The ugly and simple solution is not practicall since the user can change the focus at anytime so the small image may not be same as the first image taken.also i have implemented autofocus feature in the application.Also the capturing sound will occur twice.hence i think this is not pactical..anyway thanks for ur answer.I am loking to the ur other option whether to create a small image from the captured image by decoding.
    thanks
    Soku

Similar Threads

  1. Nokia N-Series Complete Model Line-Up
    By Dopod in forum General Development Questions
    Replies: 6
    Last Post: 2008-07-22, 20:16
  2. Camera API on Symbian 9.1 (Nokia N80)
    By srigans1 in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-10-20, 05:31
  3. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  4. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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