Discussion:
Patch for backgrounded copyright text
Arne
20 years ago
Permalink
Hi everybody,

on my search for an gallery i finally stumbled over a::g and i liked it. But
prefer to have a copyright-text which can always be read so i added support
for text with background.

A patch is attached. It's patched against the source from the debian-package
in testing (v. 0.99-svn050524-1), as that's the one i had. I know that that
was sub-optimal. If needed i can diff it to another source.

An addidional variable is added:
GalleryCopyrightBackgroundColor 'r,g,b,a'
If it exists a colored rectangle in the specified color is drawn beneath the
actual text.

I use it to have my white text surrounded by a transparent black box, so that
it's visible on white areas of the pictures.

An example can be found here:
Failed to load image: http://www.tbbd.de/agex.jpg

Hope anyone finds it useful.

Cya
Arne
Christian Laursen
20 years ago
Permalink
Post by Arne
I use it to have my white text surrounded by a transparent black box, so that
it's visible on white areas of the pictures.
Can't you do the same just by having your copyright image have the desired
background color with a fitting alpha level?
--
Christian Laursen
Arne
20 years ago
Permalink
Hi,
Post by Christian Laursen
Post by Arne
I use it to have my white text surrounded by a transparent black box, so
that it's visible on white areas of the pictures.
Can't you do the same just by having your copyright image have the desired
background color with a fitting alpha level?
Most probably.
But there might be reasons why a feature to add a text instead of an image
exists.

Best regards
Arne
Ondra Kudlik
20 years ago
Permalink
Post by Arne
Hi,
Post by Christian Laursen
Post by Arne
I use it to have my white text surrounded by a transparent black box, so
that it's visible on white areas of the pictures.
Can't you do the same just by having your copyright image have the desired
background color with a fitting alpha level?
Most probably.
But there might be reasons why a feature to add a text instead of an image
exists.
Wow, its great. Why to open my Favourite Image Editor (TM) only to
write text? I think this is great! Thanks for it.
--
.''`. Ondra 'Kepi' Kudlik
: :' : Debian GNU/Linux User
`. `'
`- http://www.nosoftwarepatents.com/cz/m/intro/index.html
Andreas Plesner Jacobsen
20 years ago
Permalink
Post by Arne
A patch is attached. It's patched against the source from the debian-package
in testing (v. 0.99-svn050524-1), as that's the one i had. I know that that
was sub-optimal. If needed i can diff it to another source.
Included in r303
--
Andreas
Jesus Climent
20 years ago
Permalink
Post by Arne
A patch is attached. It's patched against the source from the debian-package
in testing (v. 0.99-svn050524-1), as that's the one i had. I know that that
was sub-optimal. If needed i can diff it to another source.
Well, i fact it was the latest svn version, since 2 weeks ago i pulled a new
revision and turned to be the same i had already uploaded.
--
Jesus Climent info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.6.12|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429 7E18 66FC 1D7F 8694 6D69

Sticking feathers up your butt does not make you a chicken.
--Tyles Durden (Fight club)
Loading...