RE: picture to png

2004-05-17 Thread Menjoulet, Scott
J-,
If you're using LV7 or higher, there is a new VI called "Picture to
Pixmap.vi".  It can be found under Graphics & Sound >> Picture
Functions.

I've used it and it works quite well.

Scott

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 12:50 PM
To: [EMAIL PROTECTED]
Subject: picture to png

Is there no way to get the contents of a picture and save it to an image
file? I know about using an Invoke Node and the Get Image method, but
that's not what I'm after. It's easy enough to draw stuff outside the
visible area of a picture control and Get Image won't capture that. I've
got limited screen space to display the image I'm building but I'd like
to save all the data to an image file for the end user to do with as
they please.

I could just make a sub-VI with a humongous picture control and save the
image, but that lacks elegance.

Has anyone found a better way?

Thanks,
Jason

--
Jason Corwin
[EMAIL PROTECTED]
(858) 592-4025
 





RE: picture to png

2004-05-17 Thread Guillaume Perron
Hi,

Try this: http://labview.brianrenken.com/downloads.shtm

There is a nice Subvi that fit your needs(Picture to file). written by Brian Renken


Guillaume Perron
Concepteur logiciels/Software developper
ITF Technologies Optiques
(514) 748-4848


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Monday, May 17, 2004 1:50 PM
To: [EMAIL PROTECTED]
Subject: picture to png


Is there no way to get the contents of a picture and save it to an image file? I know 
about using an Invoke Node and the Get Image method, but that's not what I'm after. 
It's easy enough to draw stuff outside the visible area of a picture control and Get 
Image won't capture that. I've got limited screen space to display the image I'm 
building but I'd like to save all the data to an image file for the end user to do 
with as they please.

I could just make a sub-VI with a humongous picture control and save the image, but 
that lacks elegance.

Has anyone found a better way?

Thanks,
Jason

--
Jason Corwin
[EMAIL PROTECTED]
(858) 592-4025
 



Confidentiality Warning: This message and any attachments are intended only for the 
use of the intended recipient(s), are confidential, and may contain privileged 
information. If you are not the intended recipient, you are hereby notified that any 
review, retransmission, conversion to hard copy, copying, circulation or other use of 
this message and any attachments is strictly prohibited. If you are not the intended 
recipient, please notify the sender immediately by return e-mail, and delete this 
message and any attachments from your system. Thank you.

Information confidentielle: Le présent message, ainsi que tout fichier qui pourrait y 
être joint, sont envoyés à l'intention exclusive de son ou de ses destinataires; ils 
sont de nature confidentielle et peuvent constituer une information privilégiée. Nous 
avertissons toute personne autre que le destinataire prévu que tout examen, 
réacheminement, impression, copie, distribution ou autre utilisation de ce message et 
de tout fichier qui y est joint est strictement interdit. Si vous n'êtes pas le 
destinataire prévu, veuillez en aviser immédiatement l'expéditeur par retour de 
courriel et supprimer ce message et tout document joint de votre système. Merci.