Re: sudoku dictionary attack
Has some one an sodoku-task-generator? Here another solutions-ways: http://www.python-forum.de/viewtopic.php?t=3378 -- input -- http://mail.python.org/mailman/listinfo/python-list
Image.putpalette(Colors)?
Has somebody a example-script how i can put a other palette to a image? (after this the image should have similar outlook) -- http://mail.python.org/mailman/listinfo/python-list
Re: Image.putpalette(Colors)?
Thanks, I've read this page.( out of date ?) http://www.pythonware.com/products/pil/articles/creating-palette-images.htm Very nicely to become answered from the major author and python genius highly personally himself :-D Which I want to do is; convert several "RGB" Images (or "P") with one specified palette (to "P"). Or this (for "P")pattern; if the Source Image has the exact same colors but wrong(other) paletteIds, how can i sort this? With List.sort()? And give each pixel the right paletteId? That is what i mean with similar image (source"RGB" to destinaton"P"). convert() without "WEB"? (sry if i've enough experience with python)>=newbie -- http://mail.python.org/mailman/listinfo/python-list
Re: Image.putpalette(Colors)?
I mean equal outlook. Or as other objective: give some Images (which has all same colors but other palettes) for an Animation the same/one palette and nothings is changed in their outlook -- http://mail.python.org/mailman/listinfo/python-list
Re: Image.putpalette(Colors)?
I think in this Example is an fault lut has the sequence from "im" but not from "lut.putdata(range(256))" ##Getting the Palette Contents Using Resize/Convert assert im.mode == "P" lut = im.resize((256, 1)) lut.putdata(range(256)) lut = im.convert("RGB").getdata() ^^ # lut now contains a sequence of (r, g, b) tuples Fredrik Lundh wrote: > here's one of the first google hits for "PIL putpalette": > > http://effbot.org/zone/pil-pseudocolor.htm -- http://mail.python.org/mailman/listinfo/python-list
Re: Questions about wxPython...
Helmutt schrieb: > Whats the name of the event that occur when I press the > exit/cross-button on the frame? > How do I connect a function with that event? Hi, I try just to begin the same. I found this in the docu. wxApp::OnExit http://wxwidgets.org/manuals/2.5.3/wx_wxapp.html#wxapponexit wxWindow::Close http://www.wxpython.org/docs/api/wx.Window-class.html#Close wxCloseEvent http://www.wxpython.org/docs/api/wx.CloseEvent-class.html -- http://mail.python.org/mailman/listinfo/python-list