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.
! 15-Apr-2002 J-03-23 TLH $$1 Created
Are anyone know a tool that generates BIF file from classical format (BMP, JPG, ...) ?
It would greatly help to create Pro/TOOLKIT interfaces.
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 for your help.
Convert BIF to JPG is possible with this software:
But it's more difficult to convert JPG (or BMP, PNG...) to BIF format...
And I don't find any software...
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?
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.
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.
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 firstname.lastname@example.org
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.
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.