ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image from compressed string

Solved!
Go to solution

Hi 

Every body.

 

I have a small issue. i am compressing am image file using flatten to string. when  i retrieve the image using unflatten to string it works but if i first save the compressed string to a text file and then read it and then unflatten it i dont get the correct image. can any one help its getting bigger on me. 

 

Regards,

 

Usman Asghar

0 Kudos
Message 1 of 3
(3,105 Views)
Solution
Accepted by www.nrtc.com.pk

I can't open your VI now but I will wager from experience that you have the Convert EOL option selected when reading and writing the file.  I usually use read and write binary file for this, but you can right click and deselect convert EOL.  

Message 2 of 3
(3,101 Views)

Thanks a lot......
You solved my problem

GOD bless you thanks. 🙂

 

Regards ,

 

Usman Asghar 

 

0 Kudos
Message 3 of 3
(3,097 Views)