Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 24 Aug 2016, 12:25
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Blendpics - e.g. as widgetbackground
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Sun 18 Jan 2009, 16:42    Post subject:  Blendpics - e.g. as widgetbackground  

Screenshots:

without overlay:


full size:
http://noforum.de/pics/overlay-no-big.jpg

with overlay:


full size:
http://noforum.de/pics/overlay-yes-big.jpg

I'm no good in painting, so if someone creates nicer overlays, please post them here.
I'd like to have one to get that effect:
http://puppylinux.org/home/screenshots/my-latest-desktop-with-pwidgets

usage:
blendpics background.jpg overlay.png result.png width-back height-back width-overlay height-overlay offset-x offset-y

The width/height values can be set to "0", then the pictures are not scaled.

So what is it good for?

Many puplets use "widgets", they are usually located on the right side of the screen.
Screenshots show, that some people like wallpapers, where the widgets have a "background", like a dark bar.
Blendpics can "overlay" a semi-transparent picture over another one, so you get a darker area.

You also could use it, to blend a semi-transparent Puppy-Logo on the wallpaper.

You can create such pictures in Gimp like this:
Create a black circle or rectangle.
Open the dialog "layers and channels".
It has a slider on top, to set the alpha-transparency. Slide it down to around 10%, and save.
2 examples are included in /usr/local/blendpics/.

I included a modified "set_bg" for the wallpapersetter of Puppy 4.
This is a bit experimental, and may require enhancement, but seems to work so far.
To test it, backup your existing
/usr/local/apps/Wallpaper/set_bg

Then rename:
/usr/local/apps/Wallpaper/set_bg-overlaywallpaper
to:
/usr/local/apps/Wallpaper/set_bg

The sourcecode is included in:
/usr/local/blendpics/source
It depends only on Gdk-Pixbuf.
The binary is 6 kb only, compiled in Puppy 4.12.

Mark
Blendpics.pet
Description 
pet

 Download 
Filename  Blendpics.pet 
Filesize  11.93 KB 
Downloaded  544 Time(s) 

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13647
Location: Karlsruhe, Germany

PostPosted: Mon 19 Jan 2009, 20:37    Post subject:  

very small update:
/usr/local/apps/Wallpaper/set_bg-overlaywallpaper

It now saves the new overlayed wallpaper in /usr/share/backgrounds/.

This fixes 2 issues:
1.) /tmp/ getsdeleted at shutdown, so you had no wallpaper at next start.
2.) in the wallpapersetter, /tmp/ was remembered as last folder, so you had to navigate manually back to /usr/share/backgrounds/.

Mark

_________________
my recommended links
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 9059
Location: Mer méditerrannée (1 kms°)

PostPosted: Thu 12 Nov 2015, 01:51    Post subject: openbox perhaps does not allow Blendpics  

openbox precise: nothing got on screen, openbox perhaps does not allow Blendpics, i don't know.
_________________
Puppy Bikers : Born to be Wild !
Back to top
View user's profile Send private message Yahoo Messenger 
musher0


Joined: 04 Jan 2009
Posts: 8408
Location: Gatineau (Qc), Canada

PostPosted: Thu 12 Nov 2015, 04:54    Post subject:  

Hi pelo.

You sure know how to unearth dormant threads!!!... Rolling Eyes Smile

You may want to try instead this java app, which is still
available (it's been around for years), and works well.

Bye for now.

musher0

_________________
musher0
~~~~~~~~~~
"The greatest of minds are the ones that never close." | "Les plus grands esprits sont ceux qui ne se ferment jamais."
(starhawk, Resident Philosopher | philosophe en résidence) Wink
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Eye Candy
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0344s ][ Queries: 12 (0.0033s) ][ GZIP on ]