ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Wic implementation instead of DCRAWlib

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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.



photo apps
http://www.obviousidea.com
6   L A T E S T    R E P L I E S    (Newest First)
fab 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.





photo apps
http://www.obviousidea.com
phil Posted - Jun 21 2011 : 11:47:02
Hi,

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


photo apps
http://www.obviousidea.com
fab Posted - Jun 21 2011 : 04:17:20
Hello,
WIC is already supported by ImageEn.
Please look at TIEWICReader and TIEWICWriter classes.

Using that classes you should be able to handle all installed formats. ImageEn uses them to handle HDP files in TImageEnIO and TImageEnMIO.