×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    21

    CBufferedImageDecoder JPG files problem at MR phones

    Hi all,

    I faced the problem that the same code is working at FP1 devices, but is not working at MR devices
    (works fine at N95 and E63, doesn't work at N73 and E61i)

    The call to the CBufferedImageDecoder::OpenL works fine with jpg files at FP1 phones, but I have error KErrNotFound at MR phones
    (TRAP(err, iDecoder->OpenL(aData, aMimeType.DesC(), options))

    Png files are decoded fine at all phones

    Am I doing anything wrong?

    Best regards,
    Igor

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: CBufferedImageDecoder JPG files problem at MR phones

    Dunno really what would be wrong (never used the API), anyway, maybe you could try CImageDecoder:ataNewL() instead, it should work just fine.

  3. #3
    Registered User
    Join Date
    Aug 2008
    Posts
    21

    Re: CBufferedImageDecoder JPG files problem at MR phones

    Hi,

    thanks for the answer

    actually I found the solution, but forgot to post the answer due to a lot of work
    The difference is call to iDecoder->OpenL(aData, aMimeType.DesC(), options);
    aMimeType with value "image/jpg" (we have that value from web-service)
    works fine at Symbian 9.2 phones, but not at 9.1 phones
    The solution is pass "image/jpeg" instead of "image/jpg",
    that works fine under all OS versions

    Regards,
    Igor

Similar Threads

  1. Problem receiving files in 6233 !!!
    By se7en_hills in forum General Development Questions
    Replies: 1
    Last Post: 2008-04-08, 06:26
  2. Problem receiving files in 6233 !!!
    By se7en_hills in forum General Development Questions
    Replies: 0
    Last Post: 2008-04-08, 05:13
  3. linking error
    By dakosurf in forum Symbian
    Replies: 1
    Last Post: 2008-03-27, 22:45
  4. Replies: 0
    Last Post: 2002-12-04, 15:46

Posting Permissions

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