Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
obviousidea
Posted - Jun 21 2011 : 04:02:52 As stated in another thread, as we are back to a paid subscription, I would like to know if you could plan to add Wic support directly in ImageEn as an alternative for DCRAWLib, it could make the support of raw file with correct color, as the system can read them when it is installed ( or when a generic wic codec is installed )
it's not really complex to do, but it would be better to have an integrated support instead of patching and adding a new layer to support wic in the code.
Posted - Jun 21 2011 : 12:38:15 >WIC doesn't do anything yet. It will wait until you acquire the image, and then determine that > half size will be enough, load only that, and then resize.
for jpegs it is already done by ImageEn. For example TImageEnMView (when loads thumbnails instead of full images) loads reduced size of the image, instead of the full image. You can replicate a similar mechanism with TImageEnView, but only for jpegs.
Anyway this doesn't exclude that WIC integration will be not improved in future.
obviousidea
Posted - Jun 21 2011 : 12:22:16 Phil is right, it is exactly what I meant by suggesting a better integration of wic, not only you would add more format supported, but the load speed could be blasting fast. and in the same time it is almost transparant for developper.
I would really happy to pay for this feature,it is possible easily with .net framework ( WPF ) ? but with Delphi I really don't see how to do it.
I would like to suggest a nice addition for WIC loading. As you may know, WIC can defer loading to speed up the process. A small example: You load a large JPEG, and then scale it down to screen resolution. WIC doesn't do anything yet. It will wait until you acquire the image, and then determine that half size will be enough, load only that, and then resize.
Basically, all that's needed is to scale (using a WICBitmapScaler) to a desired size after loading, before converting to IEBitmap.
Do you think you might implement something like this, Fabrizio?
fab
Posted - Jun 21 2011 : 04:30:59 This is an example from the help file:
// loads input.hdp in ImageEnView1, the same of ImageEnView1.IO.LoadFromFile('input.hdp')
with TIEWICReader.Create do
begin
Open('input.hdp', ioHDP);
GetFrame(0, ImageEnView1.IEBitmap, ImageEnView1.IO.Params);
Free;
end;
ImageEnView1.Update;
obviousidea
Posted - Jun 21 2011 : 04:23:42 mmm... so you need to tell me more about we "activate" these class to have the basic component able to read a "wic" format