Re: Image manipulation

2013-10-08 Thread markotaht
First helpful advice i have gotten from this forum -- https://mail.python.org/mailman/listinfo/python-list

Re: Image manipulation

2013-10-08 Thread Steven D'Aprano
On Tue, 08 Oct 2013 07:15:46 -0700, markotaht wrote: First helpful advice i have gotten from this forum If you insist on dropping cryptic comments with bad spelling, incoherent sentences, and a complete lack of any context, it might be the last advice you get too. Please help us to help you.

Re: Image manipulation

2013-10-08 Thread markotaht
teisipäev, 8. oktoober 2013 17:26.33 UTC+3 kirjutas Steven D'Aprano: On Tue, 08 Oct 2013 07:15:46 -0700, markotaht wrote: First helpful advice i have gotten from this forum If you insist on dropping cryptic comments with bad spelling, incoherent sentences, and a complete lack

Re: Image manipulation

2013-10-08 Thread markotaht
I rembembered a bit too late, are there any good tutorials for Pillow? ImageTk.PhotoImage() keeps giving me error that there isnt such a method. -- https://mail.python.org/mailman/listinfo/python-list

How to help us to help you (was: Image manipulation)

2013-10-08 Thread Ben Finney
markot...@gmail.com writes: Well english isnt my native language, and there are things i just dont know how to explain in any language. I sympathise with attempting to explain things in a foreign language. Sorry that you have that difficulty here. But the rest of Steven's advice is sound: you

Re: Image manipulation

2013-10-06 Thread markotaht
Image consists of pixels. Each pixel has its RGBA values. In python whidout any extra downloadable modules, is there a way to get those values. I know PIG has it but i hav Python 3.3.2 so PIG wont do. In java under swingx there is a command called .getRGB() and whit some manipulation to that

Re: Image manipulation

2013-10-06 Thread Chris “Kwpolska” Warrick
On Sun, Oct 6, 2013 at 3:19 PM, markot...@gmail.com wrote: Image consists of pixels. Each pixel has its RGBA values. In python whidout any extra downloadable modules, is there a way to get those values. I know PIG has it but i hav Python 3.3.2 so PIG wont do. PIG? Did you mean PIL? In

Image manipulation

2013-10-04 Thread markotaht
Is there a way using the python 3.3.2 whidout any additional downloaded moduls, to get a pixels RGB value? -- https://mail.python.org/mailman/listinfo/python-list

Re: Image manipulation

2013-10-04 Thread Gary Herron
On 10/04/2013 03:52 AM, markot...@gmail.com wrote: Is there a way using the python 3.3.2 whidout any additional downloaded moduls, to get a pixels RGB value? No (I guess). If you want a better answer, then you'll have to give us a *much* better question. Get a pixel from *what*?

Simple image manipulation question

2009-01-19 Thread AlienBaby
Hi, Could anyone point me toward the right modules etc.. that would help with; loading an image file rendering some text onto that image saveing the image file I've looked into Tkinter, but that seems to require working with canvases etc.., but I do not need to actually display the image,

Re: Simple image manipulation question

2009-01-19 Thread bearophileHUGS
AlienBaby: PIL looked promising, but I couldn't see how to put text into the image once loaded. A 15-second long Google search gives me: http://nedbatchelder.com/blog/200801/truly_transparent_text_with_pil.html Bye, bearophile -- http://mail.python.org/mailman/listinfo/python-list

Image manipulation

2007-08-28 Thread Slava
I need to add dynamic text to animated GIF images. What is a best way to do it? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Image manipulation

2007-08-28 Thread Michael J. Fromberger
In article [EMAIL PROTECTED], Slava [EMAIL PROTECTED] wrote: I need to add dynamic text to animated GIF images. What is a best way to do it? Thanks. One possibility is the GD library, which supports animated GIF. There is a Python binding:

PIL - Pixel Level Image Manipulation?

2006-11-08 Thread Gregory Piñero
I want to be able to randomly change pixels in an image and view the results. I can use whatever format of image makes this easiest, e.g., gray scale, bit tonal, etc. Ideally I'd like to keep the pixels in an intermediate format like a list of (integers?) or an array and convert that to an image

Re: PIL - Pixel Level Image Manipulation?

2006-11-08 Thread Michael L Torrie
On Wed, 2006-11-08 at 11:53 -0500, Gregory Piñero wrote: I want to be able to randomly change pixels in an image and view the results. I can use whatever format of image makes this easiest, e.g., gray scale, bit tonal, etc. Ideally I'd like to keep the pixels in an intermediate format like

Re: PIL - Pixel Level Image Manipulation?

2006-11-08 Thread Gregory Piñero
On 11/8/06, Gregory Piñero [EMAIL PROTECTED] wrote: I want to be able to randomly change pixels in an image and view the results. I can use whatever format of image makes this easiest, e.g., gray scale, bit tonal, etc. Ideally I'd like to keep the pixels in an intermediate format like a

Re: PIL - Pixel Level Image Manipulation?

2006-11-08 Thread Max Erickson
Gregory Piñero [EMAIL PROTECTED] wrote: On 11/8/06, Gregory Piñero [EMAIL PROTECTED] wrote: I want to be able to randomly change pixels in an image and view the results. I can use whatever format of image makes this easiest, e.g., gray scale, bit tonal, etc. Ideally I'd like to keep the

Re: Cellular automata and image manipulation

2006-05-14 Thread defcon8
Thank you very much. That is highly simple, useful and it works. -- http://mail.python.org/mailman/listinfo/python-list

Re: Cellular automata and image manipulation

2006-05-14 Thread defcon8
It seemed to work with a 1d list but not with 2d. -- http://mail.python.org/mailman/listinfo/python-list

Re: Cellular automata and image manipulation

2006-05-14 Thread defcon8
import Image x = [] buff = [] buff = [[0 for y in range(41)] for x in range(21)] buff[0][(len(buff)-1)/2] = 1 def rule1(): for i in range(len(buff)-1): for j in range(len(buff[0])-1): if i == len(buff)-1: break elif j == 0: if

Re: Cellular automata and image manipulation

2006-05-14 Thread defcon8
Sorry this is the latest, the previous didn't work so well: import Image x = [] buff = [] buff = [[0 for y in range(41)] for x in range(21)] buff[0][(len(buff[0])-1)/2] = 1 def rule1(): for i in range(len(buff)-1): for j in range(len(buff[0])-1): if i == len(buff)-1:

Re: Cellular automata and image manipulation

2006-05-14 Thread defcon8
Actually never mind either. I guessed I needed to append all values after eachother in one row list: x = [] for y in buff: for z in y: x.append(z) thanks for the help -- http://mail.python.org/mailman/listinfo/python-list

Cellular automata and image manipulation

2006-05-13 Thread defcon8
Hello. I have recently been experimenting with cellular automata and I would like to know how I could convert a 2d list of 0's and 1's into white and black squares on an image. I have tried to install matplotlib and also NumTut but both to no avail. There seem to be bugs in their installation and

Re: Cellular automata and image manipulation

2006-05-13 Thread Robert Kern
[EMAIL PROTECTED] wrote: Hello. I have recently been experimenting with cellular automata and I would like to know how I could convert a 2d list of 0's and 1's into white and black squares on an image. I have tried to install matplotlib and also NumTut but both to no avail. There seem to be

Re: Cellular automata and image manipulation

2006-05-13 Thread John Bauman
[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello. I have recently been experimenting with cellular automata and I would like to know how I could convert a 2d list of 0's and 1's into white and black squares on an image. I have tried to install matplotlib and also NumTut but