Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #32373

Re: I need help installing pypng in Python 3.3

Date 2012-10-28 23:13 -0700
From Andrew Robinson <andrew3@r3dsolutions.com>
Subject Re: I need help installing pypng in Python 3.3
References <c2254bc0-6dd6-4c4c-b73a-a89ebbe64c4c@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3010.1351516779.27098.python-list@python.org> (permalink)

Show all headers | View raw


On 10/29/2012 05:23 AM, icgwh wrote:
> Hello all,
>
> I am very new to python. I am currently porting a little project of mine from java to python and I need to be able to construct and write png images. I naturally turned myself toward pypng to accomplish this.
I don't know if this will help, but:

There is a package called image magic; which can convert any image to 
any other type of image.
If that would not be a burden to install (most OS's have pre-compiled 
working binaries) -- you could easily write a portable bitmap file to 
disk using python (even without a library) -- and then convert it to png.

I have a little script I wrote in python to create a canvas, and allow 
you to draw on it using very simple line drawing primitives, and then 
save it to PBM.  It's simple enough (only draws lines with different 
pens) that you could examine it and write your own script to do the same 
or better.

If this interests you, I will see if I can post the py script; or email 
it to you.

--Andrew.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

I need help installing pypng in Python 3.3 icgwh@tagyourself.com - 2012-10-29 05:23 -0700
  Re: I need help installing pypng in Python 3.3 icgwh@tagyourself.com - 2012-10-29 06:18 -0700
  Re: I need help installing pypng in Python 3.3 Andrew Robinson <andrew3@r3dsolutions.com> - 2012-10-28 23:13 -0700
    Re: I need help installing pypng in Python 3.3 icgwh@tagyourself.com - 2012-10-29 06:39 -0700
      Re: I need help installing pypng in Python 3.3 Andrew Robinson <andrew3@r3dsolutions.com> - 2012-10-29 07:48 -0700
        Re: I need help installing pypng in Python 3.3 icgwh@tagyourself.com - 2012-10-30 03:38 -0700
        Re: I need help installing pypng in Python 3.3 icgwh@tagyourself.com - 2012-10-30 03:38 -0700
    Re: I need help installing pypng in Python 3.3 icgwh@tagyourself.com - 2012-10-29 06:39 -0700
  Re: I need help installing pypng in Python 3.3 David Robinow <drobinow@gmail.com> - 2012-10-29 11:08 -0400
    Re: I need help installing pypng in Python 3.3 icgwh@tagyourself.com - 2012-10-29 11:16 -0700
    Re: I need help installing pypng in Python 3.3 icgwh@tagyourself.com - 2012-10-29 11:16 -0700

csiph-web