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
 Advice on Best Way to Create ThumbNails in Thread

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
sparkz Posted - Mar 01 2016 : 07:55:35
I have a program which creates thumbnails in a thread, which works fine but I'm not getting very good image quality. I'm not sure if this is to do with the way I'm doing it or it's a limitation of the software.

  bmp: TIEBitmap;
...
  bmp.IELoadFromFile(sFile);
  bmp.IEConvertToThumbnail(iThumbWidth, -1, False, iResampleFilter, False, 0, False, 0, 0, 0, 0);
  bmp.IESaveToStream(ThumbStream, ioJPEG, iJPGQuality);

I've tried all the filter types but all have various levels of pixelation. Before ImageEn I used Graphics32 and the Intel jpeg dll (ijl20.dll) and never got any noticeable pixelation and was very quick.

Is there a way to get better quality?

Thanks
Mark
2   L A T E S T    R E P L I E S    (Newest First)
sparkz Posted - Mar 03 2016 : 15:22:27
Thanks Nigel. Actually, the problem seems to be with the way I'm displaying it.

If I save it to a file the actual thumbnail is ok when I look at it externally.
xequte Posted - Mar 02 2016 : 03:02:44
Hi Mark

There should be no pixelation if your JPEG quality is reasonable, and you use a resample filter, assuming you are displaying at 100%.

Please change IESaveToStream to IESaveToFile and attach a few examples.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com