T O P I C R E V I E W |
ChrmnMAO |
Posted - Nov 17 2014 : 10:00:56 Earlier this year we migrated from another imaging package to Imageen. Images acquired are stored in a Sql Server datbase as tiff files.
It seems that the images stored using imageen are markedly larger than previously. Are there ways to implement tiff compression so that new images are compressed? How would I detect and display non-compressed (older) images - would I detect for compression and set a property in the imageenview and imageenmview components?
Thanks in advance for any guidance you can offer!
Martin |
6 L A T E S T R E P L I E S (Newest First) |
ChrmnMAO |
Posted - Jan 28 2015 : 10:56:07 Thanks Nigel, I appreciate your help. |
xequte |
Posted - Jan 27 2015 : 13:03:37 Hi Martin
SaveToStreamTIFF does too. In fact SaveToFileTIFF just calls SaveToStreamTIFF internally.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
ChrmnMAO |
Posted - Jan 27 2015 : 11:10:47 Hi Nigel,
Does saving the file to stream using SaveToStreamTIFF also update the TIFF compression, or is it only SaveToFileTIFF that does that?
Thanks,
Martin |
xequte |
Posted - Jan 25 2015 : 14:58:39 Hi Martin
The TIFF_compression property has no effect until you save the file to a compressible TIFF format.
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
ChrmnMAO |
Posted - Jan 23 2015 : 14:32:37 Thanks Nigel.
One followup question. Can I use the
ImageEnView1.IO.Params.TIFF_Compression
property to set the compression of an uncompressed TIFF file that I have opened, and which I want to save as compressed with LZW compression? In other words, does
ImageEnView1.IO.Params.TIFF_Compression
change the compression of the file in memory?
Thanks,
Martin |
xequte |
Posted - Nov 17 2014 : 12:15:32 Hi Martin
Yes, you can detect the TIFF compression that is being used via the Params properties of the IO object used by a TImageEnView, e.g.
ImageEnView1.IO.Params.TIFF_Compression
Or for a TImageEnMView:
ImageEnMView1.MIO.Params[ ImageEnMView1.SelectedImage ].TIFF_Compression
You can read/write the various TIFF properties as required:
http://www.imageen.com/help/TIOParamsVals.html
Nigel Xequte Software www.xequte.com nigel@xequte.com |