×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Nokia Developer Champion
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    mifconfv and mbm icon

    Hi,

    how I can define the mask for mbm file? I checked the examples for how the mifconv is working when building .mif files from svg format:
    mifconv $(ICONTARGETFILENAME) /c32 $(ICONDIR)\icon.svg

    But when I have two bmp files, one normal and one with masek, what I had to put on command line? Where I will specify the masked file name?
    mifconv $(ICONTARGETFILENAME) /c24,1 $(ICONDIR)\Test.bmp

    In generated .mk makefile is written: "DO NOT DEFINE MASK FILE NAMES! They are included automatically by MifConv if the mask detph is defined."

    O.K, but how the mifconv recognizes the mask file? Should it be named in some special way?

    Regards,
    STeN

  2. #2
    Nokia Developer Champion
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: mifconfv and mbm icon

    OK,

    ehh - I found it - "mbmdef" should be the way. Sorry for useless thread..

    STeN

  3. #3
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: mifconfv and mbm icon

    You can use MifConv tool for both SVG and BMP files. The difference is while specifying an SVG you've to give color depth for both image and image_mask but for a BMP only provide one value and for BMP you've to mention both image and image_mask in the MK file. May be the following line explains it.

    Code:
    ...
    /c32,8 ..\image\SomeSvg.svg\
    /c24 ..\image\SomeBmp.bmp\
    /c8 ..\image\SomeBmp_mask.bmp\
    ...

Posting Permissions

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