Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

picture's format

Intel_C_Intel
Employee
606 Views
Dear all,

I'm building a program who may open a great number of graphic windows (using "DFLIB"), these windows are created with the bitmap's format and i'd like to save these windows in a *.gif or *.jpg format automaticly at the end of the run, in order to minimize the disk's space taken by these objects.

What should i do?

thanks a lot,

J.Barbet , TECNITAS/Structural analysis department
0 Kudos
3 Replies
cfrieler
Beginner
606 Views
Dear J.,
Sorry that I don't have an answer for you. I'd like to add one more voice to the request though (and keep this topic on the top of the forum).
I'm also confronting this problem. I need an output format that supports vector graphics well, which excludes jpeg. However, I also need to avoid the copyright hassles with gif. Does anyone out there have a conversion routine that outputs *.png or *.ps files?
TIA
Cliff
0 Kudos
Intel_C_Intel
Employee
606 Views
Hi there,
Let's keep this one on top!
I have no answers either - but would dearly like to have conversion routines
between different image formats.
I can, however, contribute a good link to a fortran library for anyone interested in doing postscript graphics. It is written by Kevin E. Kohler
and is available at http://www.nova.edu/ocean/psplot.html

Lars
0 Kudos
Intel_C_Intel
Employee
606 Views
Hi all,

i found how to manage saving *gif pictures at the end of my run, automatically.

I took a little executable from the net called "bmp2gif.exe" and i called it in my routine:
first i save my diffrerents bitmap windows with different names using "SAVEIMAGE" (it's explained in the fortran's help) and then i call the bmp2gif using "SYSTEM" (the same), so that my bitmaps are converted into*gif, and then i erase the *.bmp.

ps : i'm working with windows OS.

This way is quite simple and i think that it's quite easy to make it work with different picture's format, since you manage to get a small .exe working with dos OS without any graphic interface.
It's even easier with unix OS since most of the workstations have a gif converter or ps converter like "togif" with the SGI.

J.B.
0 Kudos
Reply