cancel
Showing results for
Did you mean:
cancel
Showing results for
Did you mean:

Highlighted
Newbie

## *.bif generator

Hello,

I noticed that the icons in WF and CREO have the format .BIF.

It looks to be a format specific for PTC that represents the images as a text file.

Like this:

! 15-Apr-2002 J-03-23 TLH 1 Created

!

(Image regenerate

(Resources

(.Width 20)

(.Height 20)

(.Depth 24)

)

(Data

FFFFFFFF03999999011EF4F966666601F0F1080DF0F1EF8AA7C7012001003399

CF01285BC5070DF3F200CC81CC4307010D5D0D6908280DF0F180038080570193

06500DAC0DBC0D7C0D00900DA00DF0F18001D001C00DCC0DDC0D00EC0D001550

1508192011681D8001301100801D601DA01D181D5015101DD81DFC0D00E41D1C

1D3809F8FDE81DF81D542D380D00480D602D442DA42D281D381DB02D94290020

05DC2DBC2DCC2D283D383D483D0C3D001C3D783D883D983D5C35B03DA03DB43D

00E03DC03D004D104D204D304D404D242D00743DE83DEC3D484D742D644DC04D

D04D00684D643DB44D804D205D085DF44D045D00605D705D345D445D545DB05D

C05D845D00E05DD05D006D106D2069

)

)

Are anyone know a tool that generates BIF file from classical format (BMP, JPG, ...) ?

It would greatly help to create Pro/TOOLKIT interfaces.

Tags (4)
8 REPLIES 8
Regular Member
(in response to earnal)

## Re: *.bif generator

Hi Etienne...

A google search for "BIF to JPG" brings up several free converters and even some "batch converters" to do a host of files at once.

Here's the link... scroll down a bit to the "BIF to JPG" section: http://windows.podnova.com/trends/bif_to_jpg.html

Let us know if this helps! I haven't tried any of these software applications so do your due diligence and scan all downloaded software before running.

Thanks!

-Brian

## Re: *.bif generator

Hi Brian,

Convert BIF to JPG is possible with this software:

http://www.xnview.com/fr/formats.html

But it's more difficult to convert JPG (or BMP, PNG...) to BIF format...

And I don't find any software...

## Re: *.bif generator

Hi Etienne,

I have also needed to convert jpg to bif when I attach an image to a button in my pro/toolkit project.

Do you have solved this problem, or have some good suggestions?

Thank you!

## Re: *.bif generator

Hi,

why you do not use a GIF or PNG in your Pro/TOOLKIT project. This image formats also work fine. No need to convert your images to BIF.

## Re: *.bif generator

Hi,

Thank you for you reply. I used to try using GIF or PNG formats obtained by screenshot, but all failed. If I use the image files in Pro/E resource directory, the control works fine. I don't know if this is caused by format.

## Re: *.bif generator

Hi,

I only use PNG files in my dialog resource files. And it works fine.

I also use PNG files for my Creo menu buttons.

So mabye you have an error in your resource file.

If you want you can send me your resource folder and I will have a look at it.

You can send it to oli@buw-soft.de

## Re: *.bif generator

Hi,

Thank you very much. I did not define the image in the resource file. I use the function like "ProUIDrawingareaImagesSet" to set the image dynamically, but no effect. In the Pro/E folder, "...\PTC\proeWildfire5.0\text\resource", there are many GIF files defined by Pro/E. If I use these images, the result is good. I feel puzzled.

## Re: *.bif generator

Hi,

where do you save your images?

Your files should be located in your project in the folder "text/resource".

Maybe you try to show a image on a button in your resource file first. If this work, you can try to set it dynamically.