-
Notifications
You must be signed in to change notification settings - Fork 84
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
Feature Request: Add support for png,bmp and other simple image formats #21
Comments
Note that the Go API does support PNG. |
Since I'm not programming in Go that's not relevant for me. |
I got this super cool digital dash and now it's going to get much more complicated that it needs to be so I can get that white background to go away... https://photos.app.goo.gl/atHqycZQ7Dmvara02 |
From README this should be available calling:
I've tried this function but it seems to work with jpeg only:
Is this correct? |
LoadImageFromPNG() is from my fork Paeryn's fork, although I changed it to CreateImageFromPng() when I standardised the function naming scheme, looks like I missed changing the documentation. If you need any other help with my modifications that ajstarks hasn't incorporated back into his then please raise them on my github page. |
I think it's quite a shame that you can't insert any other images except jpg's.
API wise: It should be fairly easy detecting what kind of image we have from the first few bytes of the image. If not the ending might help. Also adding a new parameter to the image function that would allow to force a specific image format.
The text was updated successfully, but these errors were encountered: