×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jan 2010
    Posts
    90

    [Moved] CJPEGExifDecoder

    Hi,

    I am using exif to you create a thumbnail image..... when i modified code and try compiling it shows error undeclared variable CJPEGExifDecoder and same error for many other exif variables..... i tried in blogs and included .h and .lib files mentioned but those are not available in my SDK....

    I am compiling for 3rd Edition FP1 category

    Does anybody knows how to resolve this problem?

    Awaiting for your response.

    Thanks,
    Venu.

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

    Re: CJPEGExifDecoder

    you could mayb check SDK docs, it says: "This item is not part of the S60 3rd Edition SDK for Symbian OS, Supporting Feature Pack 1, for C++." for the CJPEGExifDecoder API.

  3. #3
    Registered User
    Join Date
    Jan 2010
    Posts
    90

    Re: CJPEGExifDecoder

    Thanks for your quick reply,

    then whats the solution to resolve that error? should i need to do some changes before compiling?

    Thats means we cannot use this utility for 3rd edition FP1 and below?

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

    Re: CJPEGExifDecoder

    if the API is not included in the SDK, then it can not be used within the SDK.

  5. #5
    Registered User
    Join Date
    Jan 2010
    Posts
    90

    Re: CJPEGExifDecoder

    Thanks,

    Could you please check the link below i have raised another question regarding thumbnail,

    http://discussion.forum.nokia.com/fo...983#post716983

    Topic is Convert HBufC8 to CFbsBitmap if you couldn't able to open that link just search through topics


    Venu.

  6. #6
    Nokia Developer Champion
    Join Date
    May 2004
    Posts
    2,267

    Re: [Moved] CJPEGExifDecoder

    Hi,

    You can load an image file to a CFbsBitmap object and at the same time resize it (to a thumbnail...)

    Code:
    TFrameInfo bmpInfo=iDecoder->FrameInfo();
    delete iBitmap;
    iBitmap = NULL;
    iBitmap=new(ELeave) CFbsBitmap;
    //TInt err = iBitmap->Create(bmpInfo.iOverallSizeInPixels,bmpInfo.iFrameDisplayMode); // no we don't want to load the full size image
    TSize size(bmpInfo.iOverallSizeInPixels.iWidth/2, bmpInfo.iOverallSizeInPixels.iHeight/2);
    TInt err = iBitmap->Create(size, bmpInfo.iFrameDisplayMode); // load the image and at the same time resize it to a quarter of the original frame size.
    User::LeaveIfError(err);
    iDecoder->Convert(&iStatus,*iBitmap);
    SetActive();
    and some of the image files may contain thumbnails, for example generally the JPEG files captured by the built-in Camera app contain QQVGA (160x120) EXIF thumbnail. As decoding the thumbnail is faster than decoding the main image, you can always try the CImageDecoder::SetImageTypeL(CImageDecoder::EImageTypeThumbnail) before turning to decoding the main image.

    "ICLCodec: Decoding/Encoding an image using the Image Conversion Library "
    http://library.forum.nokia.com/index...CLExample.html

    Regards

    Ziteng Chen

Similar Threads

  1. [moved] testing a mobile application through APIs
    By smajeti in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2009-10-14, 12:02
  2. Replies: 3
    Last Post: 2008-12-01, 05:36
  3. [moved] Unknown Error while opening Carbide.C++ v1.3
    By tsyou in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-11-29, 13:56
  4. CJPEGExifDecoder
    By chishti_hameed in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2007-01-12, 18:59

Posting Permissions

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