Page 1 of 6

SVG/PNG Wallpaper Maker

Posted: Sat 16 Jul 2016, 12:08
by trio
Hi,

This is a small tool to create simple gradient wallpapers with color of your choice.

Special thanks to: Solo, smokey01, musher0 and Barry K

stamps svg are from here http://murga-linux.com/puppy/viewtopic. ... h&id=95180

Enjoy

V 1.8.9.2: Now reflection effect is pretty uniformed
V 1.8.9.1: fix placement of reflected stamp and text (again)
V 1.8.8: Now saving won't quit editor window, add notification when saved
V 1.8.7: bugfix. Now checks for qwallpaper
V 1.8.6: bugfix when saving stamp reflection...I need a rest
V 1.8.5:
- Save as png, a warning if rsvg-convert is not available
- Stamp now can have fill color
- Stamp reflection effect
- Setter checks if wallpaper or xfdesktop-settings or Qwallpaper exists, if not then no button appear (I will make changes if the bin is not called Qwallpaper, I don't have quirky 64 bit)

V 1.8.4 New Text filter effect: Reflection
V 1.8.3: New background filter: TONED
V 1.8.2: Bugfix: not all backgrounds can have eefects
V 1.8.1: Bugfix flatbackground now can have shadow effect, adjust text stroke width and text shadow a bit
V 1.8: Background base filter effects, now shadow not only stamp, text also
V 1.7.2: Add stamp shadow effect
V 1.7.1: small upgrade - stamps size now in 4 sizes
V 1.7: Lots of stamps!
V 1.6: Add puppy stamp! and text skew
V 1.5: Add text rotation
V 1.4: Options to use or not text fill and line
V 1.3: supports BIG texts, rearranged gui a bit
V 1.2: Bigger Editor window, bugfix if multiple texts, font, font syle and weight added, new templates (now also support flat 1 color)
V 1.1: add text function with fill and stroke colors, adjustable position

Posted: Sun 17 Jul 2016, 10:14
by trio
V 1.1: add text function with fill and stroke colors, adjustable position

see main post

Additional templates!!
extra stamps deleted will be packed as std

Posted: Mon 18 Jul 2016, 06:22
by trio
V 1.2: Bigger Editor window, bugfix if multiple texts, font, font syle and weight added, new templates (now also support flat 1 color)

see main post

Posted: Mon 18 Jul 2016, 07:22
by trio
V 1.3: supports BIG texts, rearranged gui a bit

Posted: Mon 18 Jul 2016, 13:51
by trio
V 1.4: Options to use or not text fill and line

Posted: Tue 19 Jul 2016, 06:32
by trio
V 1.5: Add text rotation

Posted: Tue 19 Jul 2016, 12:33
by trio
V 1.6: Add puppy stamp! and text skew

Posted: Tue 19 Jul 2016, 13:24
by musher0
Thanks for this, trio. It can be quite useful! :)

Posted: Tue 19 Jul 2016, 13:48
by musher0
A couple of try-outs! :)

Posted: Tue 19 Jul 2016, 14:01
by solo
You're doing some nice work there trio!

If you really want to get your freak on. You may want to experiment with filters a bit. The results can be quite spectacular.

For instance, you are able to add noise to your wallpaper using the feTurbulence filter.
If you go to this page:

http://docs.webplatform.org/wiki/svg/tu ... vg_filters

, there's a whole lot of useful stuff about filters. The bits concerning feTurbulence, feColorMatrix and feComponentTransfer are particularly relevant.

Posted: Wed 20 Jul 2016, 09:50
by solo
I was dabbling around a bit with those filter functions, and I came up with this:

Code: Select all

<svg xmlns="http://www.w3.org/2000/svg" width="640" height="480">
<defs>
	<filter id="myFilter01" x="0" y="0" width="100%" height="100%">
	<feTurbulence baseFrequency=".005" numOctaves="1" seed="6" type="turbulence"/>
	<feComponentTransfer>
	<feFuncA type="table" tableValues="1 0"/>
	</feComponentTransfer>
	</filter>
	<filter id="myFilter02" x="0" y="0" width="100%" height="100%">
	<feColorMatrix type="hueRotate" values="180" result="A" />
	</filter>
</defs>
<g filter="url(#myFilter02)" >
<g filter="url(#myFilter01)" >
<rect width="640" height="480" />
</g>
</g>
</svg>
Now, the thing is, I am running Precise Puppy, which has librsvg version 2.34 as an svg rendering library. That particular version has some severe limitations imposed, because at the time of its release, they discovered you could use some of those same svg filter definitions to introduce code from outside sources. So they crippled it, basically, which is why I can't have an svg as a wallpaper, and I can't have an svg GTK standard iconset.
You're probably running librsvg 2.40, so you do not have that problem.
So what I am saying is that I do not know how it looks as rendered by librsvg as a wallpaper.
I know it looks kind of pretty in Inkscape, and I know it looks kind of pretty in Firefox, and I know it looks like shit in the Gimp.

It's really weird, each program renders the image differently, which, I suppose, has everything to do with how it handles the Alpha channel.

Interesting stuff!

Posted: Wed 20 Jul 2016, 10:20
by trio
V 1.7: Lots of stamps! see main post

@solo
I'll look at those filters

@musher0
Thanks for trying out!

Posted: Thu 21 Jul 2016, 07:31
by trio
V 1.7.1: small upgrade - stamps size now in 4 sizes

Posted: Fri 22 Jul 2016, 07:47
by trio
V 1.7.2: Add stamp shadow effect

I am able to make the text shadow also, but the effect is not satisfying (ugly). This svg thing is quite confusing.

anyway, this app is not as simple as when it started :D

Posted: Fri 22 Jul 2016, 16:10
by vovchik
Dear trio,

Great work, and thanks....

With kind regards,
vovchik

Posted: Fri 22 Jul 2016, 16:40
by trio
V 1.8: Background base filter effects, now shadow not only stamp, text also

Note: the effects aren't looking good for flat-1color background

@vovchik: thank you for using

Posted: Sat 23 Jul 2016, 08:08
by trio
V 1.8.1: Bugfix flatbackground now can have shadow effect, adjust text stroke width and text shadow a bit

Posted: Sat 23 Jul 2016, 10:36
by solo
I realize it's a bit of a weird request, since I'm not able to succesfully run your wallpaper maker on the Puppy I use, but I am very much interested in what it is capable of now, so I'd like to ask if it would be at all possible to post a sample wallpaper image.

Because it seems like you are lifting it to a whole new level.

Posted: Sat 23 Jul 2016, 11:23
by trio
@solo

What puppy? this app is only bash and gtkdialog, should work for all std puppy

Posted: Sat 23 Jul 2016, 17:11
by solo
Really great stuff trio!

The problem for me, as I explained in a previous post, is my librsvg version, which is the library used for rendering svg's.
Precise Puppy runs librsvg version 2.36, which has problems.