[Marketing] first mockup of a rollup banner for booths
Sean DALY
sdaly.be at gmail.com
Wed Jun 3 05:42:57 EDT 2009
Here is a commandline hack for generating any combination, requires
imagemagick (www.imagemagick.org)
First, choose hex values for colors. Outdated info can be found here:
http://wiki.laptop.org/go/XO_colors and a list of hex value pairs
here: http://wiki.laptop.org/go/Talk:XO_colors. I like the ColorZilla
addon for Firefox which has a screen eyedropper ("pipette") which will
work for anything loadable into Firefox.
Open the SVG file
(http://git.sugarlabs.org/projects/sugar-artwork/repos/mainline/blobs/master/icons/scalable/device/computer-xo.svg)
in a text editor, enter desired hex values for stroke_color and
fill_color, for example #F8F800 (yellow) and #F8ACC8 (pink), then save
under a different name (computer-xo.YellowPink.svg).
imagemagick:
$ convert +antialias -density 300 -background none -quality 0 +dither
-colors 256 -resize 150x computer-xo.YellowPink.svg
computer-xo.YellowPink.png
these switches: turn off antialias, set resolution (for an SVG
conversion this should be at least double the target resolution),
transparent background, dither off, 256 color palette, target
resolution 150 pixels width (should make a square from this SVG)
This command can make a giant XO too (multiply the density and resize
by 10 for example) but the vectors of the SVG become apparent. It's
surely possible to apply additional filters to smooth them out (as
opposed to manual editing), to be investigated. SVG to raster
conversions are a bit of a dark art.
The resulting PNG could surely be size-optimized further, in my
bookmarks II have this:
http://www.ffnn.nl/pages/articles/media/png-optimization.php which I
haven't followed up on.
This line could easily be scripted to generate all possible color
combinations, or reject too-close combinations, or even read in pairs
from a text file flipping stroke/fill for each pair, generating 3
sizes of PNG (or JPEG or GIF or whatever).
Sean
On Wed, Jun 3, 2009 at 4:12 AM, Frederick Grose <fgrose at gmail.com> wrote:
> Hi Gary,
> The banner looks good, but seems to be heavy on dark blue strokes.
> I've attached some of my favorite color pairs (snapped off the screen of
> SoaS in VirtualBox).
> I used Walter's xoEditor, http://wiki.sugarlabs.org/go/Activities/XoEditor,
> for some, but had to use gconf-editor for the YellowPink combination (while
> the PinkYellow combination was possible in xoEditor). I wish there was a
> direct stoke/fill inversion method, such as a inverted XO in a fixed
> position in the alternative row.
> Thanks for all the contributions, --Fred
> _______________________________________________
> Marketing mailing list
> Marketing at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/marketing
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: computer-xo.YellowPink.png
Type: image/png
Size: 12744 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/marketing/attachments/20090603/60f7f940/attachment-0001.png
More information about the Marketing
mailing list