Jump to content

Images exhibit black artifacts


 Share

Recommended Posts

  • Developers
23 minutes ago, fatpig said:

White parts become black. might be transparent, too. Not sure.

Maybe you could have checked before posting to help us help you? ;)
Have you tried settimg the background to white?
Without some script code there isn't much we can help with.

Jos
 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers
3 minutes ago, fatpig said:

oh, alright so this is not standard behaviour?

So you seriously think we create a function to display a JPG in a gui and then deliberately  fuck it up by making a part black? :)

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

haha obviously... Back in school when we programmed in "MetaCard", there was always one color in a jpg assigned to transparency,
so I assumed this might work in the same way.

It seems to be the white parts that are discolored, mirroring the JPG compression there I guess.
I use GuiCtrlCreatePic.

I just tried to change the BkColor and sure enough, its transparent!

Link to comment
Share on other sites

Use GDI+. There are plenty of examples how to display an image in the GUI properly.

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...