Vote UpVote

Revised TJpegImageEx.SaveToStream

Delphi Haven – When coding TJpegImageEx.SaveToStream for CCR Exif, an implicit assumption of mine was that the image would be created by the underlying TJpegImage rather than loaded from a file, an assumption that leads to data corruption if the file does not have a JFIF segment like TJpegImage-authored ones do. Fixing this is easy enough though, I think — if I get no complaints, the following implementation will replace the current one in CCR Exif v0.9.6. So, firstly, amend the ’strict private’ section of TJpegImageEx to be as thus: strict private FChangedSinceLastLoad: Boolean; ...
Favorite? Off-Topic? CR @ 2009-06-02 09:02


Visits: 42
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)