MerkurAlex Posted May 5, 2008 Share Posted May 5, 2008 Is there a way to have the pink color act as transparent in an image? [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
MikeP Posted May 5, 2008 Share Posted May 5, 2008 Why doing that since it supports GIF or PNG.. just use such file types and you're fine, no? Link to comment Share on other sites More sharing options...
MerkurAlex Posted May 6, 2008 Author Share Posted May 6, 2008 Why doing that since it supports GIF or PNG.. just use such file types and you're fine, no?I just tested and it doesn't seem to work with either. [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
MikeP Posted May 6, 2008 Share Posted May 6, 2008 You mean you created a GIF or PNG picture in a software such as Photoshop, with transparent areas, and when you're using them on your GUI .. they're not transparent O.o ? Link to comment Share on other sites More sharing options...
MerkurAlex Posted May 6, 2008 Author Share Posted May 6, 2008 You mean you created a GIF or PNG picture in a software such as Photoshop, with transparent areas, and when you're using them on your GUI .. they're not transparent O.o ?I mean if i just save an image as png from paint they show fine in everything but if i load it in Autoit then there is nothing. [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
trippdoctor Posted May 6, 2008 Share Posted May 6, 2008 MS Paint... I would suggest using something like Paint .Net or Gimp Link to comment Share on other sites More sharing options...
MerkurAlex Posted May 6, 2008 Author Share Posted May 6, 2008 MS Paint... I would suggest using something like Paint .Net or GimpI normally would im just testing and this prooves my point that png does not seem to work with guictrlcreatepic... [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
ChrisL Posted May 6, 2008 Share Posted May 6, 2008 I mean if i just save an image as png from paint they show fine in everything but if i load it in Autoit then there is nothing.I tried this also, if I save an image as a PNG from paint it doesn't work, if I save it as a GIF from paint then it works.I'm still not entirely sure what the original question is, can you ellaborate? (sp) [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
Armand Posted May 6, 2008 Share Posted May 6, 2008 (edited) As far as i know AU3 currently supports only BITMAPS [.bmp].however there is a way around it... create a IE object and load inside it the img... it'll look just the same...EDIT:::I've uploaded the UDF i use for that manipulation: http://www.autoitscript.com/forum/index.ph...t=0#entry517094enjoy. Edited May 6, 2008 by Armand [u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?! Link to comment Share on other sites More sharing options...
Zedna Posted May 6, 2008 Share Posted May 6, 2008 AutoIt picture control supports BMP,JPG,GIF (but not animated GIF).PNG is not supported but you can use GDI+ API calls to make workaround.Search forum for: PNG GUIHere are some examples:http://www.autoitscript.com/forum/index.ph...st&p=364091http://www.autoitscript.com/forum/index.ph...st&p=514016 Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now