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
 JPG files now loaded progressively?

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
Uwe Posted - Sep 03 2012 : 14:42:39
Hi,

Has the code for handling JPG files changed somehow in the latest version of ImageEN? I've noticed that JPG, JPEG and JPE images are now loaded progressively into an ImageENVect instead of in one go.

Thx
Uwe


EDIT:
I'm using ImageENVect1.LockPaint and .UnlockPaint within a thread here. Seems that the loading of JPG's in this context isn't thread-safe. Can you guys check, please? Thanks a bunch.
2   L A T E S T    R E P L I E S    (Newest First)
Uwe Posted - Sep 06 2012 : 11:09:56
Hi Fabrizio,

Never mind, I made a stupid mistake by putting the ImageEnVect1.LockPaint in the wrong place.

Cheers
Uwe
fab Posted - Sep 05 2012 : 10:10:05
Hi,
nothing has been changed in Jpeg loading. Jpeg images are loaded in one step, not progressively.
Make sure you don't call Paint/Update inside OnProgress event.

About the thread-safe: it depends what you mean. Of course you cannot access the bitmap while loading is in progress.