Jump to content


Photo

Pico's Big BBInterface question thread


  • Please log in to reply
22 replies to this topic

#1 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 13 August 2014 - 07:14 AM

*ahem* so im gonna start in with bbinterface soon. I am hoping it will replace my need for rainmeter.

 

So instead of creating  a thread for each issue ill post all mine here.

 

So first question:

Q: Is it possible to add an image with a transparent background. If yes, how?



#2 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 13 August 2014 - 07:56 AM

There is a BBInterface section already, so I'm gonna move this thread there. As to your question:

It IS possible, but the element on which this image sits - a frame, a button, whatever - has to be transparent, too.



#3 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 13 August 2014 - 08:02 AM

well i do a lot of renders from all kinds of sources, (as you know from da) and they are incredibly handy as bases for rainmeter skins. So i was wanting to do someting liek that here also.

 

like:

 

Posted Image



#4 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 13 August 2014 - 08:23 AM

Well, you CAN do that. You have to save the base image on a frame with no transparency and then use another frame (or buttons) with transparency for + and - . OR, if you want them solid on the base image, you can make THEIR frame transparent by using Style = None after locking all child elements. If this is too complicated, please let me know and I will give more detailed instructions.



#5 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 14 August 2014 - 04:11 AM

ok so i made  aframe, added my image to frame then locked children. I then set the style to none and while it "sorta" worked, the image has this odd pink line around it now.

Posted ImagePosted Image

any idea?



#6 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 14 August 2014 - 06:18 AM

The image has to be in bmp format. Sorry I forgot to mention it. You can do it with other formats, but then each child element has to be transparent, too (style=none).



#7 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 14 August 2014 - 06:31 PM

i still get the pink outline anytime i set style to none 

Posted Image

 

i cant use bmp because it doesn't allow for background to be transparent like a png does



#8 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 15 August 2014 - 06:16 AM

bmps allow for transparent backgrounds, provided you use magic pink to fill the blanks.



#9 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 15 August 2014 - 07:20 AM

hmmm ill give it a shot! :D didnt knwo bmps could do that lol

 

what is the rgb value you use for magic pink? 255, 0, 255?

 

edit: still gives me the pink outline.

Posted Image

 

just had a nutty thought, wonder is i can send commands to BB from rainmeter.... i shoul dbe able to with bro@ms



#10 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 15 August 2014 - 07:26 AM

Yes.



#11 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 15 August 2014 - 07:39 AM

hmmm ill give it a shot! :D didnt knwo bmps could do that lol

 

what is the rgb value you use for magic pink? 255, 0, 255?

 

edit: still gives me the pink outline.

Posted Image

 

just had a nutty thought, wonder is i can send commands to BB from rainmeter.... i shoul dbe able to with bro@ms

You used magic pink as it should, the picture on the right is perfect. So, there is something else wrong here.

1) Are you sure it's in bmp format?

2) Are you sure it's a 24-bit bitmap?

3) Are you using other chlid elements on the same frame?

Can you e-mail me the magic-pinked bmp? Would like to try it myself. Please send me the original as well (png or whatever. Some other formats don't migrate to bmp too well).

As for bro@ms and rainmeter... It CAN be done. In fact, if you'll browse in PasteBin you'll find some tips...



#12 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 15 August 2014 - 03:21 PM

nope no other child elements, i gave it a frame of its own.

 

bmp version Attached File  1.bmp   10.17MB   3 downloads

 

png version Attached File  1.png   1.08MB   0 downloads



#13 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 15 August 2014 - 04:00 PM

Magic pinked the png file, turned out fine. (There is a light blue outline left which was on the original as well).

 

Attached File  posttest.PNG   340.56KB   0 downloads

 

Your bmp file retains the pink outline, mine doesn't. What app are you using to magic pink this?



#14 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 15 August 2014 - 04:47 PM

photoshop cs5



#15 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 15 August 2014 - 04:52 PM

Please don't laugh, but use MS Paint. Choose a 255, 0, 255 color combination and bucket the pink. Let me know how it went after you use it as an image for a bbi element :)



#16 Pico_No_Blackbox

Pico_No_Blackbox

    AHK Scripter

  • Members
  • PipPipPip
  • 53 posts

Posted 15 August 2014 - 05:09 PM

Posted Image

 

took me a minute to even find mspaint but here ya go, still has pink border. XD i give up. I think ill just use rainmeter for that and send commands to BB from rainmeter. I was hoping to be rid of rainmeter but oh well.



#17 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 16 August 2014 - 06:11 AM

This is very strange. I mean you did see my rendition of it and it was fine. Maybe use graphics on a frame with a regular style (no transparency?) I know it's not what you intended, but you can still use bbinterface. OR, you can use any icon (bmp, ico, jpg, png) with a transparent background and set the host element to style=none.



#18 diabol

diabol

    Lazyass

  • Validating
  • 236 posts

Posted 19 August 2014 - 01:26 PM

blackbox.exe -exec @BBCore....



#19 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 19 August 2014 - 01:32 PM

blackbox.exe -exec @BBCore....

Uh? :D



#20 pogua007

pogua007

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 25 December 2016 - 04:24 PM

I am a Chinese, English is very bad. I use goole to translate to english.

If the image format is gif will not produce a border. Other ico, bmp, png format will have a border.

Vector fonts will also produce border, dot-matrix fonts are not, such as the Chinese of the song (simsun).


  • pitkon likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users