×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    75

    PNG encoder!!! Found but...

    Hi all
    I found a free PNG encoder at www.chrfr.de

    Problem is that to save an image and its thumbnail I:
    -capture the image from the camera (I get the raw byte array data) so I can save this
    -clip the image to create a thumbnail Image
    -get bytearray data from clipped image using PNG.toPNG() method in the PNG class I found at the previous address.
    -save new bytearray of the thumbnail image in a file in the phone

    Problem is the thumbnail has the correct size but it shows (if opened on the phone) only the first few lines of the image the rest is blank
    Even stranger is that if I load the image in my pc and view the png image (thumbnail) saved in the phone by my midlet the image shows perfectly with all the pixels, not only the first few lines.

    Can anyone take a look at the code in the PNG class to see if there is something wrong? My guess is that there is something wrong with the header because if when transferred to the pc the image shows OK it means the data part is all there...

    ??????

    Alex

  2. #2
    Registered User
    Join Date
    Aug 2006
    Posts
    33

    Re: PNG encoder!!! Found but...

    and also here http://www.drhu.org/

  3. #3
    Regular Contributor
    Join Date
    Mar 2007
    Posts
    75

    Re: PNG encoder!!! Found but...

    I ma sorry I can't see any PNG encoder in your personal page.

    Alex

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. Prototype SDK 2.0 setup problem
    By jackmcardle in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2007-01-09, 16:21
  3. SyExpat + problem + memmove + Carbide Express
    By pearman in forum Symbian
    Replies: 2
    Last Post: 2006-10-14, 22:21
  4. Problems with errno module
    By tsharju in forum Symbian
    Replies: 1
    Last Post: 2005-10-21, 11:24
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

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