- This topic has 12 replies, 3 voices, and was last updated 9 years, 6 months ago by alweis.
-
AuthorPosts
-
February 9, 2015 at 10:03 pm #36435alweisParticipant
I am using FastReports in my application and have provided thirdparty support as recommended. My png images with alpha channel are showing a black background instead of transparent in the report preview. This problem exists in version 9.17, 9.18, 9.19. I cannot say about version 9.16 because I do not have this version. In version 9.15 the images render correctly in the FastReport preview. I have attached a sample application that shows this problem.
I am running XE on windows 7. I also have seen the problem under XE7.
February 17, 2015 at 6:01 pm #53079SupportKeymasterHello! Thank you for screenshots and for demo-program.
What version of your FR package? I'm trying it with FR 5.2.3, but image is not visible in preview, other behaviour is well.
I can't understand why image is not visible there (I tried your package without AlphaControls even, with same behaviour).
February 19, 2015 at 6:25 pm #53113alweisParticipantHello Serge,
I am currently using FR4.15.4. I intend to move to version 5.2. I cannot explain the behavior you are seeing. Ultimately, I intend to use XE7 and FR 5.2. Just as soon as I have a chance, I will prepare the same demo for the newer versions. For the moment this is not critical because I can continue to use AC 9.15. I am hoping to make the transition to XE7 and FR5.2 by 6-15-2015, but I still have a number of XE7 issues to resolve.
Best Regards,
Al
March 2, 2015 at 11:40 pm #53176alweisParticipantHello Serge,
Just an update I have tested the following with FR 5.2.7:
- Delphi XE7 + AC 9.20, PNGs do not render properly
- Delphi XE7 + AC 9.15, PNGs do render properly
Best Regards,
Al
March 3, 2015 at 8:16 pm #53183dhwz2001ParticipantConfirmed, I've the same problem with TsListView and also with TsAlphaHints. All transparent PNGs just have black background. But only if the PNG is 8-bit, 32-bit is working properly.
March 3, 2015 at 10:19 pm #53185alweisParticipantHello dhwz2001,
I guess we have different problems because my graphics are 32-bit /with alpha Channel.
Best Regards,
Al
April 4, 2015 at 4:15 pm #53291dhwz2001ParticipantStill no fix for that issue? 🙁
April 20, 2015 at 4:46 pm #53307SupportKeymasterHello!
I have deleted skins from the demo and changed Png image to Jpeg, but same issue exists, unfortunately – image is not visible in the Preview.
Can you check it, please?
Exe-video is attached, look it please.
April 23, 2015 at 2:36 pm #53312alweisParticipantPlease send me the source for the video and I will look at it.
April 23, 2015 at 4:07 pm #53313SupportKeymasterThis demo is attached here.
April 29, 2015 at 4:21 pm #53334alweisParticipantYour graphic was not displaying because you used the same Picture control as the original without removing the file link. I have fixed this and used a relative path for calling my logo so that you can see the problem. This logo is intended to be replaced by the customer logo. Therefore it is not practical form me to embed it in each report.
May 1, 2015 at 6:59 am #53340SupportKeymasterThank you, I can repeat this issue now.
The reason of this trouble is in changed priority of Png handlers.
You can fix it easily, I think – just change the ACPngFirst variable to False.
This variable is declared in the sDefaults unit. Please, try it.
May 1, 2015 at 1:48 pm #53342alweisParticipantYour suggestion as fixed this issue. You may consider the case closed. As usual, thank you for the fine controls and your support.
Best Regards,
Al
-
AuthorPosts
- You must be logged in to reply to this topic.