Critical Issue with latest 2010 update and PngComponents
Critical Issue with latest 2010 update and PngComponents
Hello,
After I updated my 2010 evaluation for Delphi XE to the latest update I cannot assign a png image to any of the PngComponents from the designer (I get an invalid graphic format error). If I do not load TChart Components everything works ok... Can anybody please give me some hints on how to make this work as a lot of errors suddenly appeared with this update and this is most annoying
Regards
After I updated my 2010 evaluation for Delphi XE to the latest update I cannot assign a png image to any of the PngComponents from the designer (I get an invalid graphic format error). If I do not load TChart Components everything works ok... Can anybody please give me some hints on how to make this work as a lot of errors suddenly appeared with this update and this is most annoying
Regards
- Attachments
-
- Untitled-1.gif (8.94 KiB) Viewed 13847 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Critical Issue with latest 2010 update and PngComponents
Hi johnnix,
It could be related to the fact that in this release PNGImage unit was renamed to TeePNGImage to avoid name conflicts with existing PNGImage unit as discussed here. Do you have those packages enabled? Have you changed unit references in your project if necessary?
It could be related to the fact that in this release PNGImage unit was renamed to TeePNGImage to avoid name conflicts with existing PNGImage unit as discussed here. Do you have those packages enabled? Have you changed unit references in your project if necessary?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Critical Issue with latest 2010 update and PngComponents
Hello Narcis,
Thank you for your reply. Ok, I had installed PngComponents fro Delphi 2010 and there was no issue with the evaluation version of TeeChart 2010. The error appeared after I installed the latest official release. I did not change any unit references so can you please help me on what I am looking for? Which packages are you referring too?
Regards
Thank you for your reply. Ok, I had installed PngComponents fro Delphi 2010 and there was no issue with the evaluation version of TeeChart 2010. The error appeared after I installed the latest official release. I did not change any unit references so can you please help me on what I am looking for? Which packages are you referring too?
Regards
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Critical Issue with latest 2010 update and PngComponents
Hi johnnix,
Do you have TeeMaker package enabled at Project -> Options -> Packages? TeeMaker is the package that includes TeePNGImage.
Do you have TeeMaker package enabled at Project -> Options -> Packages? TeeMaker is the package that includes TeePNGImage.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Critical Issue with latest 2010 update and PngComponents
Hello,
Yes, TeeMaker is enabled. What else could be wrong?
Regards
Yes, TeeMaker is enabled. What else could be wrong?
Regards
Re: Critical Issue with latest 2010 update and PngComponents
Hello Narcis,
If I disable TeeMaker package and create a new VCL project and add aTPngBtiBtn, then I can add a png image to a . If I then add a TChart component I can no longer add a png image (Get that invalid format error)
Regards
If I disable TeeMaker package and create a new VCL project and add aTPngBtiBtn, then I can add a png image to a . If I then add a TChart component I can no longer add a png image (Get that invalid format error)
Regards
Re: Critical Issue with latest 2010 update and PngComponents
Hello Narcis,
Can you reproduce this error?
Regards
Can you reproduce this error?
Regards
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Critical Issue with latest 2010 update and PngComponents
Hi johnnix,
Does this only occurs with PNGImage components? I can set a PNG file as a TChart BackImage here.
Does this only occurs with PNGImage components? I can set a PNG file as a TChart BackImage here.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Critical Issue with latest 2010 update and PngComponents
Hello Narcis,
The problem is not with TChart but with TPngBitBtn! I cannot assign a png to TPngBitBtn any more so I was hoping you could give me some hint (remember it worked ok with the evaluation version)
Regards
The problem is not with TChart but with TPngBitBtn! I cannot assign a png to TPngBitBtn any more so I was hoping you could give me some hint (remember it worked ok with the evaluation version)
Regards
Re: Critical Issue with latest 2010 update and PngComponents
Hello Narcis,
Ok, I found a solution! In PngFunctions use:
Regards
Ok, I found a solution! In PngFunctions use:
Code: Select all
initialization
TPicture.RegisterFileFormat('PNG', 'Portable Network Graphics', TPNGObject);
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Critical Issue with latest 2010 update and PngComponents
Hello johnnix,
Thank you very much for your feedback, I'm glad to hear you found a solution to the issue.
Thank you very much for your feedback, I'm glad to hear you found a solution to the issue.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |