TLUG Presentation June 2009: Beginning GIMP
Robert P. J. Day
rpjday-L09J2beyid0N/H6P543EQg at public.gmane.org
Sat Mar 14 15:49:15 UTC 2009
On Sat, 14 Mar 2009, Richard Weait wrote:
> Hi All,
>
> I'm pleased to confirm that Giles Orr has generously offered to share
> his experience with The GIMP (The GNU Image Manipulation Program) with
> us at the June 2009 TLUG meeting.
>
> Abstract: http://tlug.ss.org/wiki/Meetings:2009-06
>
> The GIMP was the most requested topic in our recent poll and is eagerly
> anticipated based on discussion at recent meetings.
>
> Thank you, Giles. See you there, everybody.
on a (somewhat) related note, i was playing with gimp to design some
high-res (WUXGA) per-pixel test patterns, but i clearly didn't want to
have to manually set pixels using paint or pencil or something
similar, and someone pointed me here:
http://pythonware.com/library/index.htm
where you can grab a python-based imaging library to quickly create
image files. for instance, here's a pgm that creates a WUXGA pattern
with alternating pixel columns of red, green, blue and white:
############################################
#!/usr/bin/python
import Image, ImageDraw
import sys
columns = 1920
rows = 1200
im = Image.new("RGB", (columns, rows))
draw = ImageDraw.Draw(im)
print im.size[0] # columns
print im.size[1] # rows
c = 0
while c < columns:
draw.line((c, 0, c, rows-1), fill=(255, 0, 0)) # red
draw.line((c+1, 0, c+1, rows-1), fill=(0, 255, 0)) # green
draw.line((c+2, 0, c+2, rows-1), fill=(0, 0, 255)) # blue
draw.line((c+3, 0, c+3, rows-1), fill=(255, 255, 255)) # white
c += 4
# im.show()
im.save("eg1.png", "PNG")
##############################################
are there any other comparable products for whipping up cool image
files as above?
rday
--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list