-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature request: How about an event for making the image object accessible #10
Comments
Hi again Michael and thank you for the helpful feedback.
This seems to be the key issue. In
|
I think so, don't ask me why I didn't give it a try, I certainly should have. The only important issue would be to make sure that no further initialization routines are affected to begin with which cannot easily be undone during replacement. Otherwise it should work, I assume. I'll get back to you after doing some more tests with regard to my original goal. |
SVG images were not being loaded in their native sizes with TImage32 was empty. (#9)
Well, I'm impressed, I really wasn't sure I could get it to work (since I'm not familiar with class instance inheritance), but yes, I could implement what I was looking for, here's just the image format declaration part of my PNGX unit:
So in short: I just had to modify the SaveToStream methods by adding a single line of code respectively for invoking the event exposing the proper png object and figure out how to exactly declare the required types. Thanks again for your excellent components! |
I'm sorry for not finding a more proper subject for this, Angus, but here's what I was looking for, what I aready tried, and why I'm asking for an additional event:
PS: For now I've just added a single line setting the desired compression level directly into your code, but that's note really the way I would prefer if there's a better one to be shared ...
--
PGP Key ID (RSA 2048): 0xC45D831B
IERenderer's Home https://www.pmpgp.de/renderer/History.htm
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
The text was updated successfully, but these errors were encountered: