×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Location
    51°11'4.78"N -|- 2°48'27.05"E (Belgium)
    Posts
    730

    Picture conversion

    Hi,

    is there any class to convert a picture from the bmp format to jpg and from jpg to bmp (Series 60) ??

    thanks in advance,
    Dominique HUGO
    ----------------------------------------------------------------------------------
    FExplorer is my baby !

    you can get the FREE version from www.gosymbian.com
    you can get the PRO version from http://store.ovi.com/content/339454

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    194

    RE: Picture conversion

    Check the Example for Bitmap manipulation:

    void CBmpmanipAppView::SaveL()
    {
    if (iConvertState != EConvertStateReady)
    {
    return;
    }

    //Save the image as a JPG (JFIF) format
    TMdaJfifClipFormat jfifFormat;
    jfifFormat.iSettings.iSampleScheme = MdaJpgSettings::EMonochrome;
    jfifFormat.iSettings.iQualityFactor = 20;

    iFileSaver->CreateL(KBmpFileName, &jfifFormat, NULL, NULL);
    iConvertState = EConvertStateSaving;
    }

    Nani

Posting Permissions

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