LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Embed string into JPEG files

Solved!
Go to solution

Thank you very much Darin.K.

You have been a great help to me.

 

- Sable

0 Kudos
Message 11 of 16
(824 Views)

Darin.K,

 

After adding the ascii exif, must we save as a new jpeg file (or) is there a way we can save the changes on the jpeg file read itself?

 

- Sable

0 Kudos
Message 12 of 16
(802 Views)

Just use the same filename to overwrite the file if you so desire.   I always write to a new file during testing.

0 Kudos
Message 13 of 16
(793 Views)
0 Kudos
Message 14 of 16
(784 Views)

I guess I would not run into that issue in my workflow since I very rarely do any type of 'in-place' work on a file.  My reasoning being that if something goes wrong you are likely to end up with a corrupted file.  Instead I usually write a new file with the old name to a different directory, and if I am certain that worked, then I *might* go back and delete the original.  I tend to be a data hoarder to I tend to keep originals.

 

You will have to do some combination of write to new file, delete original file, and renaming/moving.  I would use the file constant to get the temp directory and write a new file with the original name to there.  Then I would delete the original jpeg and move the new file into the original directory.

Message 15 of 16
(777 Views)

Thank you Darin.K

 

- Sable

0 Kudos
Message 16 of 16
(769 Views)