Discussion Board

Results 1 to 3 of 3

Thread: Save an Image

  1. #1
    Registered User
    Join Date
    Jan 2010

    Save an Image

    Ive taken an image with getSnapshot() using the VideoControl object and ive cropped the image. I was wondering is it possible to save this cropped image onto the phone memory as a JPEG so the user can transfer it to their pc or send to other people.

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Cheshire, UK

    Re: Save an Image

    I'm assuming you've cropped the image as an int[] acquire with getRGB()? You would need some way to re-encode that as a JPEG, and there is certainly no built-in means of doing that. You need either to write your own JPEG encoder, or find one someone else has written already.

    One alternative, if you simply want a format you can interchange, this guy has a free PNG encoder. Note that it does not support compression, so the resulting PNGs are very large.


  3. #3
    Registered User
    Join Date
    Jan 2010

    Re: Save an Image

    Thanks for the info

Similar Threads

  1. Replies: 3
    Last Post: 2010-01-12, 14:39
  2. can't save image
    By m_afatah in forum Symbian
    Replies: 2
    Last Post: 2009-06-21, 08:00
  3. Save Downloaded Image
    By devdattac in forum Mobile Java General
    Replies: 4
    Last Post: 2008-10-10, 06:43
  4. Draw and save image
    By shyam9 in forum Symbian
    Replies: 10
    Last Post: 2008-04-08, 11:31
  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