TurboPack / PNGComponents

PngComponents is a set of components that allows you to include in your application real PNG files.
Other
57 stars 32 forks source link

Invalid graphic format #7

Open wantedxnn opened 3 years ago

wantedxnn commented 3 years ago

In RAD Studio Alexandria when i try to assign png to button i get "Invalid graphic format." It's something with library or IDE.

wantedxnn commented 3 years ago

PS. Installed from GetIt and manually and same problem, also installed RAD Studio 11 Alexandria October Patch

romankassebaum commented 3 years ago

I just installed the PNG components, created a new Vcl applications, dropped a TPngSpeedButton on a form, assigned a png to it, compiled and could run the application.

I could not reproduce the issue.

wantedxnn commented 3 years ago

I just installed the PNG components, created a new Vcl applications, dropped a TPngSpeedButton on a form, assigned a png to it, compiled and could run the application.

I could not reproduce the issue.

I understand.. still not figured what is the problem removed completely the rad studio, fresh install and same issue... No other components installed. Before i had jcl/jvcl installed...and i supposed have a conflict with them...

romankassebaum commented 3 years ago

Could there be a problem with the .png file? Did you try another one? Can you try to set the image at runtime? Then you can debug an see where the problem is.

wantedxnn commented 2 years ago

I downgraded to rad 10.4 and i will stick with this, now it's working... in rad 11 still doesn't work... I don't have time to dig in rad 11 to see what it's happening. Anyway thanks!

Fabioluiz100 commented 2 years ago

I have the same problem on XE2, i can't change the IDE to do anothers tests.

romankassebaum commented 2 years ago

Forget about XE2. There are High DPI , M1 and M2 from Apple.