LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save a bitmap image into a file???

Version 5.0 of LW/CVI has a function called
"SetBitmapToFile()" , but I work with version
4.0.1, that doesn´t have any function that permits
one to save a bitmap in clippboard to a file.

If anyone know how to do this, please reply to
tessari@ifi.unicamp.br


Sent via Deja.com http://www.deja.com/
Before you buy.
0 Kudos
Message 1 of 3
(3,299 Views)
> Version 5.0 of LW/CVI has a function called
> "SetBitmapToFile()" , but I work with version
> 4.0.1, that doesn´t have any function that permits
> one to save a bitmap in clippboard to a file.

Well, I have a FP that will save to a compressed PNG file, but I just
recompiled it for CVI 5.5. You might be able to use the .LIB without the FP.
http://sung3.ifsi.rm.cnr.it/~dargaud/Hack/LabWindows.html#Png
-----------
Guillaume Dargaud
CNR/IFA
http://sung3.ifsi.rm.cnr.it/~dargaud/
http://sung3.ifsi.rm.cnr.it/~domec/
http://sung3.ifsi.rm.cnr.it/~chooyu/
"Counting in octal is just like counting in decimal, if you don't use your
thumbs." - Tom Lehrer.
0 Kudos
Message 2 of 3
(3,299 Views)
Guillaume Dargaud wrote:

> > Version 5.0 of LW/CVI has a function called
> > "SetBitmapToFile()" , but I work with version
> > 4.0.1, that doesn´t have any function that permits
> > one to save a bitmap in clippboard to a file.
>
> Well, I have a FP that will save to a compressed PNG file, but I just
> recompiled it for CVI 5.5. You might be able to use the .LIB without the FP.
> http://sung3.ifsi.rm.cnr.it/~dargaud/Hack/LabWindows.html#Png
> -----------
> Guillaume Dargaud
> CNR/IFA
> http://sung3.ifsi.rm.cnr.it/~dargaud/
> http://sung3.ifsi.rm.cnr.it/~domec/
> http://sung3.ifsi.rm.cnr.it/~chooyu/
> "Counting in octal is just like counting in decimal, if you don't use your
> thumbs." - Tom Lehrer.

I looked at CVI 5.0, there is no such function as SetBitmapToFil
e().


--
Ori Idan
Helicon technologies LTD. National Instruments Alliance member in ISRAEL
Email: ori@helicontech.co.il
Home page: http://www.helicontech.co.il
Tel: +972-6-6262353 Fax: +972-6-6262405
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Things should be made as simple as possible but not simpler
Albert Einstein
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
0 Kudos
Message 3 of 3
(3,299 Views)