first of all congratulations to Fabrizio for the improvements in the VLC. The new version seems to be even faster than the old one. I have just upgraded from V2 to V4
Unfortunately i have a problem with the DoPreviews method. In a form i have a TimageEnMIO object linked to a TImageEnMView object. After the image (moncromatic TIFF with faxccitt4 compression) has been acquired by a scanner the user can click in a button and asjust the colors. The code is sipmply theimageEnMIO.proc.DoPreviews(ppeColorAdjust) (it works) Later the image is saved using the code theimageenMio.savefile(..) The image is saved but the color adjust is missing.
Hello, thank you Roberto. pppeColorAdjust works with color images, so your need to save the image as RGB instead of BW: ImageEnMView.MIO.Params[imageindex].SamplesPerPixel := 3; ImageEnMView.MIO.Params[imageindex].BitsPerSample := 8; ImageEnMView.MIO.Params[imageindex].TIFF_Compression := ioTIFF_JPEG; // or another compression ImageEnMView.MIO.SaveToFile(...);
Another small thing.: Having a TImageEnMView and a TImageEnView what's the best way to show in the last one the image currently selected in the TImageEnMView ? Now i use the clipboard (copy in the Mview and past in the view)