×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    53

    Exclamation Image conversion utility in Series 60 3rd Edition SDK Beta

    Dear All,

    Hope that someone can help me!!!

    I am developing an application using Series 60 3rd Edition SDK Beta and I am facing a problem. I will past here my class and then explain what are my problems.

    ------------------------------------------------------------------------------------------------------------

    //MMdaImageUtilObserver is an interface to a set of image conversion utility callback functions.
    class CBeCoolSkinHandler : public CBase, public MMdaImageUtilObserver
    {
    public: // Constructors and destructor
    CBeCoolSkinHandler(CBeCoolAppUi* aAppUi, TBeCoolSkin& aSkin);
    static CBeCoolSkinHandler* NewL(CBeCoolAppUi* aAppUi, TBeCoolSkin& aSkin);

    ~CBeCoolSkinHandler();

    public: // From MMdaImageUtilObserver.
    virtual void MiuoConvertComplete(TInt aError);
    virtual void MiuoCreateComplete(TInt aError);
    virtual void MiuoOpenComplete(TInt aError);

    public: // New functions.
    void LoadSkinL();
    static const CFont* BeCoolFontToCFont(TBeCoolFont aBeCoolFont); //CFont link against gdi.lib


    protected:
    void ConstructL();

    private:
    void ReadSkinDescriptionL(const TDesC& aFileName);
    void ReadSkinColour(TLex8& aLex, TRgb& aColour);
    void ReadSkinRect(TLex8& aLex, TRect& aRect);

    private: // Data

    /**
    *Converts the jpg file to a bitmap
    *Implements format conversion of a file based image to a bitmap.
    *The class provides functions to create an instance of this conversion
    *utility and to open an existing image file. Conversion is performed using
    *the image conversion utility interface.
    */
    CMdaImageFileToBitmapUtility* iSkinLoader;//Link against: mediaclientimage.lib

    //Re-scales a bitmap.
    CMdaBitmapScaler* iSkinScaler;////Link against: mediaclientimage.lib

    CBeCoolAppUi* iAppUi;
    TBeCoolSkin& iSkin;

    TBool iScaling;
    };

    -----------------------------------------------------------------------------------------------------------


    As I could undertsand that the Media APIs in this SDK were changed.
    I can not find CMdaImageFileToBitmapUtility or CMdaBitmapScaler


    What is the solution in this SDK??

    Thank you,

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    18

    Re: Image conversion utility in Series 60 3rd Edition SDK Beta

    You can use CImageDecoder from Image Conversion Library (ICL) to decode a JPEG into a bitmap. CBitmapScaler should help with scaling bitmaps.

Similar Threads

  1. Problem with the downloaded 3rd Edition SDK
    By razas in forum Symbian Tools & SDKs
    Replies: 9
    Last Post: 2010-04-24, 20:58
  2. Carbide.c++ Express can not use SDK for 3rd Edition (Beta)
    By SABER in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2006-02-25, 05:09
  3. issue with vc.net compatibility of third edition beta SDK
    By sameet in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2005-11-11, 10:37
  4. S90 MIDP SDK 1.0 Beta MMAPI Problem
    By kfalck in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2004-06-21, 19:44
  5. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05

Posting Permissions

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