Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid graphic format #7

Open
wantedxnn opened this issue Nov 2, 2021 · 7 comments
Open

Invalid graphic format #7

wantedxnn opened this issue Nov 2, 2021 · 7 comments

Comments

@wantedxnn
Copy link

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
Copy link
Author

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

@romankassebaum
Copy link
Contributor

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
Copy link
Author

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
Copy link
Contributor

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
Copy link
Author

wantedxnn commented Nov 12, 2021

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
Copy link

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

@romankassebaum
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants