pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
AntiAlias

AntiAlias - 2.0.0

Ian Mallett (geometrian)

Tags:

Description

I've got an OpenGL app which I want to take screenshots from. I haven't figured out how to do antialiasing with it, so I decided to manipulate the images after they were taken. I have this really great paint program, but all it does is blur, which is overkill. This program ever so slightly blurs the image, (F5)

Changes

Fixed a bug that made the image have streaks. Added a new screenshot, see below.

In the screenshot, each picture, on a scale of 0-15 would be:
0,1,2,3
4,5,6,7
8,9,10,11
12,13,14,15

Links

Home Page: http://geometrian.com/programming/index.php
Source: http://www.geometrian.com/data/programming/projects/Antialias/2.0.0/AntiAlias2.zip

Screenshot


click to view original size

Releases

AntiAlias - 2.0.0 - Feb 23, 2008
AntiAlias - 1.0.0 - Feb 23, 2008

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

January 7, 2011 6:49pm - Magnus L - nickname: (magnet)
NOOOOOOOO!!!
it uses WX python!!
though other than that good job!
you should make it use tkinter for the file thingy:
http://code.activestate.com/recipes/438123-file-tkinter-dialogs/

or if you want to google it:
http://www.google.com/search?q=python+tkinter+save+as

-Magnet
April 6, 2008 1:37pm - Ian Mallett - nickname: (geometrian)
pygame 1.8 makes this easier:
size = surface.get_size()
surface2 = pygame.transform.smoothscale(surface,(size[0]/4,size[1]/4))
surface2 = pygame.transform.smoothscale(surface2,size)
surface2 = pygame.transform.average_surfaces([surface,surface2])
surface = pygame.transform.smoothscale(surface2,size)
...unfortunately, this causes "zooming", which I think is unacceptable.
February 25, 2008 9:47am - pymike - nickname: (pymike) - 5/5
Wow! Nice! It does blurring with only the pygame module! Nice job!
February 23, 2008 4:13pm - Ian Mallett - nickname: (geometrian)
Version 2.0.0 released!
February 23, 2008 3:41pm - Ian Mallett - nickname: (geometrian)
Version 1.0.0 released!
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Apr 19, 2014

Apr 16, 2014


Apr 13, 2014

Apr 9, 2014

Mar 18, 2014


Mar 15, 2014


Mar 14, 2014

Mar 13, 2014

Mar 11, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)