that windows drowns
each image in separate window (or something like that)
I'm looking for best and easiest solution for this problem. I found
something to bind PAINT event to empty function but it doesn't work
because of scrolled panel.
Please help!
Thanks!
--
http://mail.python.org/mailman/listinfo
this is code that adds image:
CODE
kartaGif = wx.Image(slike/karta.gif, wx.BITMAP_TYPE_GIF)
kartaGif.Rescale(self.sizeX, self.sizeY)
kartaGif = wx.BitmapFromImage(kartaGif)
mask = wx.Mask(kartaGif, wx.WHITE)
kartaGif.SetMask(mask
to convert those into the format as required by the bmp file.
Any one, who is into image reading/manipulation, please help.
--
http://mail.python.org/mailman/listinfo/python-list
into numbers, not decimal numbers.
Then i perform calculations on those decimal numbers. Now i am
unable to convert those into the format as required by the bmp file.
Any one, who is into image reading/manipulation, please help.
How have you converted the bytes into numbers and why can't you
calculations on those decimal numbers. Now i am
unable to convert those into the format as required by the bmp file.
Any one, who is into image reading/manipulation, please help.
Here is a link to a *very* crude BMP file utility I wrote a long time
ago. (http://www.geocities.com/ptmcg/python
. Then i perform calculations on those decimal numbers. Now i am
| unable to convert those into the format as required by the bmp file.
| Any one, who is into image reading/manipulation, please help.
I would look into PIL, PyGame, and Numeric/Numpy.
--
http://mail.python.org/mailman/listinfo
the file into decimal numbers, representing the pixel
| values. Then i perform calculations on those decimal numbers. Now i am
| unable to convert those into the format as required by the bmp file.
| Any one, who is into image reading/manipulation, please help.
I would look into PIL, PyGame
hi
while trying to make an eigenface image from a numpy array of floats i
tried this
from numpy import array
import Image
imagesize=(200,200)
def makeimage(inputarray,imagename):
inputarray.shape=(-1,)
newimg=Image.new('L', imagesize)
newimg.putdata(inputarray
Hi.
I would like to perform some image processing using Python.
Can someone please point me in the right direction on how to get
images from the framegrabber (Alacron FastFrame-CB)?
Is VideoCapture (http://videocapture.sourceforge.net/) the correct way
to go?
Thanks in advance.
--
http
I'm pleased to finally announce PyGtkImageView 1.1.0!
Description
---
GtkImageView is a simple image viewer widget for GTK+. Similar to the
image viewer panes in gThumb or Eye of Gnome. It makes writing image
viewing and editing applications easy. Among its features are:
* Mouse
take a hand drawn sample image and query the
database for similar photos.
There is even a python implementation for it here:
http://members.tripod.com/~edcjones/pycode.html
On the histogram method I agree that it won't work partly because of
what you say and partly because it is terribly slow
sample image and query the
database for similar photos.
There is even a python implementation for it here:
http://members.tripod.com/~edcjones/pycode.html
On the histogram method I agree that it won't work partly because of
what you say and partly because it is terribly slow since it's
On 11 Mrz., 18:39, Guilherme Polo [EMAIL PROTECTED] wrote:
2008/3/11, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hi,
simple question: ThePILdoes not support reading the optional
description in GIF Images.
I did a quick thing here, try it and check if it solves the problem for you:
Wow -
Thanks for the info! SIFT really looks like a heavy weight solution,
but do you think the whole concept can be simplified if all I needed
was: given a photo, find similar ones? I mean SIFT first detects
objects on the image and find similarities, but I don't need the
detection part
is very
general and well into the highly experimental. I've been wishing for
such a feature to appear in something like Google Image Search
(pick/submit a photo and return similar images found on the web). I'm
sure if there's even a practical solution, Google (or MS) would be on it
already
and well into the highly experimental. I've been wishing for
such a feature to appear in something like Google Image Search
(pick/submit a photo and return similar images found on the web). I'm
sure if there's even a practical solution, Google (or MS) would be on it
already.
The problem
| The various free tools differ by their chosen optimization paths and
| their degree of specialization. My preference would be,
|
| 1. Doesn't really matter how long it takes to compute the N numbers per
image
Your problem here is that there is really no such thing as 'general
features
The second thing I'll try (after trying
your suggestion) is based on this paper which I found in the meantime:
http://salesin.cs.washington.edu/abstracts.html#MultiresQuery
In case anyone is interested, it describes a multiresolution querying
algorithm and best of all, it has pseudo code for
Hi,
simple question: The PIL does not support reading the optional
description in GIF Images.
http://www.pythonware.com/library/pil/handbook/format-gif.htm
After some reasearch I could not find a python solution for this, any
suggestions?
Thanx, Wingi.
--
), identify -verbose image
should have the comments somewhere
in the output.
There also a python binding to ImageMagick but I have no experience
with it.
HTH,
--
Miki [EMAIL PROTECTED]
http://pythonwise.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
2008/3/11, [EMAIL PROTECTED] [EMAIL PROTECTED]:
Hi,
simple question: The PIL does not support reading the optional
description in GIF Images.
http://www.pythonware.com/library/pil/handbook/format-gif.htm
After some reasearch I could not find a python solution for this, any
Hi all,
There are a number of free tools for image matching but it's not very
easy to decipher the actual algorithm from the code that includes db
management, GUI, etc, etc. I have my own image database and GUI so all
I need is the actual algorithm preferably in pseudo code and not in
the form
On Mar 10, 1:32 am, Daniel Fetchinson [EMAIL PROTECTED]
wrote:
Hi all,
There are a number of free tools for image matching but it's not very
easy to decipher the actual algorithm from the code that includes db
management, GUI, etc, etc. I have my own image database and GUI so all
I need
Daniel Fetchinson wrote:
There are a number of free tools for image matching but it's not very
easy to decipher the actual algorithm from the code that includes db
management, GUI, etc, etc. I have my own image database and GUI so all
I need is the actual algorithm preferably in pseudo code
There are a number of free tools for image matching but it's not very
easy to decipher the actual algorithm from the code that includes db
management, GUI, etc, etc. I have my own image database and GUI so all
I need is the actual algorithm preferably in pseudo code and not in
the form
Daniel Fetchinson wrote:
Thanks for the info! SIFT really looks like a heavy weight solution,
but do you think the whole concept can be simplified if all I needed
was: given a photo, find similar ones? I mean SIFT first detects
objects on the image and find similarities, but I don't need
Daniel Fetchinson wrote:
There are a number of free tools for image matching but it's not very
easy to decipher the actual algorithm from the code that includes db
management, GUI, etc, etc. I have my own image database and GUI so all
I need is the actual algorithm preferably in pseudo code
There are a number of free tools for image matching but it's not very
easy to decipher the actual algorithm from the code that includes db
management, GUI, etc, etc. I have my own image database and GUI so all
I need is the actual algorithm preferably in pseudo code and not in
the form
Daniel Fetchinson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
| The various free tools differ by their chosen optimization paths and
| their degree of specialization. My preference would be,
|
| 1. Doesn't really matter how long it takes to compute the N numbers per
image
Your
decent image libraries for python?
--
http://mail.python.org/mailman/listinfo/python-list
Is the cgi script in the same directory? The user's browser looks
for the jpg relative to the URL it used to get the page, which in
the case of the CGI script is the path to the script, not the
path to the html file.
No the CGI script is in a different folder, I could move everything to
the
.
Is there any other decent image libraries for python?
I use PIL, and I haven't had any difficulty with alpha channel
transparency. But maybe I'm using it for different things than you
(blitting PGN(RGBA) antialiased images mostly). What problems are you
having specifically?
Ken Seehart
Maybe I am unaware of the right way to do it, but the only way I can
think to draw several shapes of different transparencies is to create
an image for each layer and then combine them which seems overly
complex. It would be nice to simply be able to specify colors with an
alpha value combined (ie
?
HTML:
[...]
PIMG SRC=banner.jpg NAME=graphics1 ALIGN=LEFT WIDTH=799
I suspect a server configuration and/or resource placement problem.
The image has a relative URL, and the user's browser will look for
it on the same path that it used to get the resource served by the
cgi script, up to last
Hi,
Thanks for your very quick response. I have played around a bit more
so that both the image and HTML file are in the public_html folder.
They are called via python using a relative URL, and have permissions
set to 755. Within the HTML file the image is accessed using just
banner.jpg
Hi,
Good point, some code samples is probably required. Please note that
for reasons of integration with another system I am not using a
templating system.
Anyway I have copied them below:
Python:
f = open(finish.html)
doc = f.read()
f.close()
print doc
HTML:
!DOCTYPE HTML
(Our apologies for cross-posting.
We appreciate if you kindly distribute this information by your co-
workers and colleagues.)
**
Special issue on Image Processing
Gest Editors: João Manuel R. S
rodmc wrote:
[...] I have played around a bit more
so that both the image and HTML file are in the public_html folder.
They are called via python using a relative URL, and have permissions
set to 755. Within the HTML file the image is accessed using just
banner.jpg. The actual page displays
Hi,
I have a set of CGI scripts set up and in one page (which is stored in
an HTML file then printed via a python CGI) there is an image. However
the image never displays, can anyone recommend a way round this
problem?
Kind regards,
rod
--
http://mail.python.org/mailman/listinfo/python-list
Hello Rod,
I have a set of CGI scripts set up and in one page (which is stored in
an HTML file then printed via a python CGI) there is an image. However
the image never displays, can anyone recommend a way round this
problem?
We need more information, can you post a code snippet? error page
Hey just wondering could anyone help me
Have script that runs through cron but seams to run but xen-create-image
goes to end but shoes up errors because some stuff it not being passed.
./grabJob.py
# RUN all the Create ENVIRONMNET commands here
run=/usr/bin/xen-create-image
images,P=pixels in an image
avgarray --1XP array containing avg value for each pixel
adjustedfaces=facesarray-avgarray
adjustedmatrix=matrix(adjustedfaces)
adjustedmatrix_trans=adjustedmatrix.transpose()
covariancematrix =adjustedmatrix*adjustedmatrix_trans
evalues,evect=eigh(covariancematrix)
after
hi
i am using PIL to get and set image data.Using image.getdata() i can
get a tuple of ints for each pixel. also i can use im.putdata(data)
to set pixels .
suppose i am given a double value as a pixel value (say 7245654.32456
which i may get from some image processing calc..) and thus i have
Thanks. I'm just getting started in Python, so probably don't want to go far
off the main stream. Don't see Misc. I see things like Presentations, Search
this site, ...
Mike Driscoll wrote:
On Feb 15, 2:28 pm, W. Watson [EMAIL PROTECTED] wrote:
I want to allow a user who is looking at a
Fluffy Saul wrote:
On Fri, Feb 15, 2008 at 9:55 AM, W. Watson [EMAIL PROTECTED] wrote:
Is there a library that contains a pop-up menu class from a mouse click on
a
graphics image?
--
Wayne Watson (Nevada City, CA)
Web Page
Is there a library that contains a pop-up menu class from a mouse click on a
graphics image?
--
Wayne Watson (Nevada City, CA)
Web Page: speckledwithStars.net
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, Feb 15, 2008 at 9:55 AM, W. Watson [EMAIL PROTECTED] wrote:
Is there a library that contains a pop-up menu class from a mouse click on a
graphics image?
--
Wayne Watson (Nevada City, CA)
Web Page: speckledwithStars.net
--
http
[EMAIL PROTECTED] wrote:
Is there a library that contains a pop-up menu class from a mouse click on a
graphics image?
--
Wayne Watson (Nevada City, CA)
Web Page: speckledwithStars.net
--
http://mail.python.org/mailman/listinfo/python-list
Gabriel, I already tried In ower list in Argentina... I reveived a lot
of answers of people who wants to help me, but we can't find the
solution to my problem, because of that I'm asking here.
Anyway, thank's to try to aproach me to ower community in PyAr.
Ah, the thread is Guardar y recuperar
writelineHTML(req, htmlMSG):
req.write(htmlMSG + 'BR\n')
def createThumb(req, infile, maxwidth, maxheight):
import Image
import os
infile = temp/fred.jpg
outfile = temp/fred_th.jpg
if infile != outfile:
writelineHTML(req, Opening %s % str(infile
Hello to everybody, I'm from Argentina.
My problem is the next. I receive in the request one image that i've
upload, and I want to show that again in another page, how can i do that? I
try this:
from WebKit.Page import Page
class gestorControl(Page):
def actions(self):
return
En Tue, 05 Feb 2008 13:36:00 -0200, Marcos Alcazar
[EMAIL PROTECTED] escribió:
Hello to everybody, I'm from Argentina.
[... problem description ...]
Thanks, and sorry for my english :)
I can't help with your specific problem, but try http://www.python.com.ar/
--
Gabriel Genellina
--
, infile, maxwidth, maxheight):
import Image
import os
infile = temp/fred.jpg
outfile = temp/fred_th.jpg
if infile != outfile:
writelineHTML(req, Opening %s % str(infile))
writelineHTML(req, 'img src=%s/img' % infile) # Finds
File OK
('headtitleMy Tests: Python/title/head')
req.write('body')
def writeHTMLTrailer(req):
req.write('/body')
req.write('/html')
def writelineHTML(req, htmlMSG):
req.write(htmlMSG + 'BR\n')
def createThumb(req, infile, maxwidth, maxheight):
import Image
import os
infile = temp
Hi, noob here
Im using mod_python and apache2 using psp for output of page, i open a
file and resize it with the following code
%
import Image, util
fields = util.FieldStorage(req)
filename = fields.getlist('src')[0]
path = '/var/www/content/' + filename
size = 128, 128
im = Image.open(path
On Jan 16, 12:16 am, [EMAIL PROTECTED] wrote:
Hi, noob here
Im using mod_python and apache2 using psp for output of page, i open a
file and resize it with the following code
%
import Image, util
fields = util.FieldStorage(req)
filename = fields.getlist('src')[0]
path = '/var/www
On Jan 16, 1:19 pm, [EMAIL PROTECTED] wrote:
On Jan 16, 12:16 am, [EMAIL PROTECTED] wrote:
Im using mod_python and apache2 using psp for output of page, i open a
file and resize it with the following code
%
import Image, util
fields = util.FieldStorage(req)
filename
Image, util
fields = util.FieldStorage(req)
filename = fields.getlist('src')[0]
path = '/var/www/content/' + filename
size = 128, 128
im = Image.open(path)
print im.resize(size, Image.ANTIALIAS)
%
so for one, I dont think print does much with psp as far as i can
tell, i
Hey
I have a simple image load written in Python. Here is a link to the
pastebin http://pastebin.com/m490093b3
I am having a problem when loading the full screen images, it is
displaying a gray line at the bottom of the image as can be seen in
this screen shot http://www.xiano.co.uk
a sec to process a 800 by
600 image). Can anyone who has experience with computer vision help
me? Are there any existing algorithms for finding a color in an image
and plotting its coordinates? It would help me very much.
You're talking about raw number crunching. This is exactly the kind
Hello, I'm trying to work on a project in Python that involves the use
of a webcam to track a laser pointer. I found some example code here
http://janto.blogspot.com/2006/01/motion-capture-in-python.html, but
the problem is that it's quite slow (about a sec to process a 800 by
600 image). Can
...where the image data is loaded into a numpy array
(1600x1200x3)...
One comment: that is a big array, too big for the cache memory. I know
that in these cases it makes a difference how many times the slices of
the array are loaded and unloaded from RAM onto cache. One issue is
that a 2D
Reimplement colorsys.rgb_to_hsv() such that it operates on arrays instead of
scalars. Only minor modifications are necessary.
--
Robert Kern
Thanks! I'll try and see if a newcomer like me can get his head
around the array-centric modifications to colorsys.
--
ttest wrote:
Reimplement colorsys.rgb_to_hsv() such that it operates on arrays instead of
scalars. Only minor modifications are necessary.
--
Robert Kern
Thanks! I'll try and see if a newcomer like me can get his head
around the array-centric modifications to colorsys.
If you hit any
Hello,
I'm working on an image processing project using the Python Imaging
Library along with numpy. Right now, I'm trying to build a speedy
script for converting whole images between the RGB and the HSV (a.k.a.
HSB) color spaces. Unfortunately, the code I've made so far runs
dreadfully slow
ttest wrote:
Hello,
I'm working on an image processing project using the Python Imaging
Library along with numpy. Right now, I'm trying to build a speedy
script for converting whole images between the RGB and the HSV (a.k.a.
HSB) color spaces. Unfortunately, the code I've made so far runs
- I assume you mean that images in e.g.
joliet format may not be parsed properly), I'll probably end up
extracting the images and caching them on disk on the addition of new
iso's by simply mounting the image as Grant pointed out.
And it looks like wxPython may have support for icons in an img2py
Hi all,
My kids have a bunch of games that have to be run from CD (on Windows
XP). Now they're not very careful with them, and so I have a plan.
I've downloaded a utility (Daemon Tools) which allows me to mount and
unmount virtual CD drives onto an ISO image. This works well, but I
want to wrap
-On [20080102 13:11], Ant ([EMAIL PROTECTED]) wrote:
2) Is there a module out there for extracting icons from a Windows
exe?
This might be a good start:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/be829b454c945a89
--
Jeroen Ruigrok van der Werven
On 2008-01-02, Ant [EMAIL PROTECTED] wrote:
I've downloaded a utility (Daemon Tools) which allows me to mount and
unmount virtual CD drives onto an ISO image.
[...]
1) Is there a module out there for extracting files from an ISO?
Why not just mount them and then use the normal OS file
/cdrecord.html
This (with isoinfo.exe from the above) will list all files in an
iso image file:
CD = path-to-iso
import subprocess
subprocess.call( [ isoinfo.exe, '-f', '-i', CD ] )
isoinfo.exe also has a switch to extract a file to stdout
One problem you may have is daemon tools will mount cd
On Dec 15, 7:19 pm, has [EMAIL PROTECTED] wrote:
On 15 Dec, 02:40, hi and hello [EMAIL PROTECTED] wrote:
thx.
What OS?
windows xp and linux
--
http://mail.python.org/mailman/listinfo/python-list
On 20 Dec, 12:09, hi and hello [EMAIL PROTECTED] wrote:
On Dec 15, 7:19 pm, has [EMAIL PROTECTED] wrote:
On 15 Dec, 02:40, hi and hello [EMAIL PROTECTED] wrote:
thx.
What OS?
windows xp and linux
Not my areas of expertise, unfortunately. This might be looking into
though:
On 15 Dec, 02:40, hi and hello [EMAIL PROTECTED] wrote:
thx.
What OS?
--
http://mail.python.org/mailman/listinfo/python-list
Python programmers may find the application to decoding an encrypted map
image format known as Memory Map to produce a standard PNG image file
interesting.
Someone obviously very well versed in Python and in the intricacies of image
files has written a routine to decode originally the UK
thx.
--
http://mail.python.org/mailman/listinfo/python-list
I can't seem to find a way to convert an Image.Tk PhotoImage to a PIL
Image so that I can use the [tt]save[/tt] function.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
http://cdnll.i.imagechef.com/ic/templimg2/Shaved%20Head.jpg
Do u know how to make such images using PIL
using PIL, you can prepare a background image (the head), an overlay
layer (properly shaded flesh tones) and a mask (e.g. using ImageDraw and
a suitable font
http://cdnll.i.imagechef.com/ic/templimg2/Shaved%20Head.jpg
Do u know how to make such images using PIL
or other tools in python
thanks a lot for your kind help
--
http://mail.python.org/mailman/listinfo/python-list
Abandoned wrote:
Hi i have a problem.
def showimage(req):
from PIL import Image
im=Image.open(c:\image-2.jpg)
im.thumbnail((800,600), Image.ANTIALIAS)
req.sendfile(im)
give me some error.
How can i return this image witdhout save ?
image
On Nov 20, 5:36 pm, sophie_newbie [EMAIL PROTECTED] wrote:
Is there any way to do this directly within python?
If not is there any other good way to achieve it?
Thanks in advance for any help!
I think I've solved this problem using a piece of software called
imageMagick. Good stuff so it is.
On Nov 19, 5:32 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Abandoned wrote:
On Nov 19, 12:36 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Abandoned wrote:
Hi i have a problem.
def showimage(req):
from PIL import Image
im=Image.open(c:\image-2.jpg
Is there any way to do this directly within python?
If not is there any other good way to achieve it?
Thanks in advance for any help!
--
http://mail.python.org/mailman/listinfo/python-list
sophie_newbie wrote:
Is there any way to do this directly within python?
If not is there any other good way to achieve it?
Thanks in advance for any help!
I have used ghostscript from within python to do this sort of thing. You may
get
problems if the fonts are too exotic, but otherwise
On Nov 20, 11:36 am, sophie_newbie [EMAIL PROTECTED] wrote:
Is there any way to do this directly within python?
If not is there any other good way to achieve it?
Thanks in advance for any help!
Take a look at PIL -- http://www.pythonware.com/products/pil/. Among
other things, it allows you
:
domain.com/a.py/showimage
It must show meimagedirectly (no redirect or html)
How can i do it ?
I'm sorry for my bad english.
Kind Regards
How about:
def showimage(req):
req.content_type=image/jpeg # Change to youimagetype
req.sendfile(/path/to/image.jpg)
returnapache.OK
Hi i have a problem.
def showimage(req):
from PIL import Image
im=Image.open(c:\image-2.jpg)
im.thumbnail((800,600), Image.ANTIALIAS)
req.sendfile(im)
give me some error.
How can i return this image witdhout save ?
--
http://mail.python.org/mailman/listinfo
Abandoned wrote:
Hi i have a problem.
def showimage(req):
from PIL import Image
im=Image.open(c:\image-2.jpg)
im.thumbnail((800,600), Image.ANTIALIAS)
req.sendfile(im)
give me some error.
Really? I don't see any error. So there can't be one.
Diez
On Nov 19, 12:36 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Abandoned wrote:
Hi i have a problem.
def showimage(req):
from PIL import Image
im=Image.open(c:\image-2.jpg)
im.thumbnail((800,600), Image.ANTIALIAS)
req.sendfile(im)
give me some error
Abandoned wrote:
On Nov 19, 12:36 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Abandoned wrote:
Hi i have a problem.
def showimage(req):
from PIL import Image
im=Image.open(c:\image-2.jpg)
im.thumbnail((800,600), Image.ANTIALIAS)
req.sendfile(im
On Nov 19, 10:27 am, Abandoned [EMAIL PROTECTED] wrote:
[...]
Thank you but i have a another problem.
def showimage(req):
from PIL import Image
im=Image.open(c:\image-2.jpg)
im.thumbnail((800,600), Image.ANTIALIAS)
req.sendfile(im)
give me some error.
How
On Nov 18, 6:46 am, Abandoned [EMAIL PROTECTED] wrote:
Hi..
I want to show the pictures with mod python directly.
def showimage(req):
some process...
open /var/www/a.jpg and print
for example if i open:
domain.com/a.py/showimage
It must show me image directly (no redirect or html
Hi..
I want to show the pictures with mod python directly.
( it support cache and image headers)
def showimage(req):
some process...
open /var/www/a.jpg and print
How can i do it ?
I'm sorry for my bad english.
Kind Regards
--
http://mail.python.org/mailman/listinfo/python-list
Hi..
I want to show the pictures with mod python directly.
def showimage(req):
some process...
open /var/www/a.jpg and print
for example if i open:
domain.com/a.py/showimage
It must show me image directly (no redirect or html)
How can i do it ?
I'm sorry for my bad english.
Kind Regards
()
def list_entry_clicked(*ignore):
imgname = L.get(L.curselection()[0])
img.config(image=gifsdict[imgname])
L.bind('ButtonRelease-1', list_entry_clicked)
root.mainloop()
The exception points to this line as being the issue:
for gifname in os.listdir(dirpath
Thanks a lot for your patience.
I put the gif file to a folder called fig in my desktop.
dirpath = './fig'
still got error:
Traceback (most recent call last):
File 11.py, line 238, in module
img.config(image=gifsdict[imgname])
NameError: name 'imgname' is not defined
You should
--
Symposium Image Processing and Analysis
International Conference on Computational and Experimental Engineering
Sciences 2008 (ICCES'08)
USA, 17-22 March 2008
http://icces.org/cgi-bin/ices08/pages
(Tkinter.END, gifname)
L.pack()
img = Tkinter.Label()
img.pack()
def list_entry_clicked(*ignore):
imgname = L.get(L.curselection()[0])
img.config(image=gifsdict[imgname])
L.bind('ButtonRelease-1', list_entry_clicked)
root.mainloop()
--
http://mail.python.org/mailman/listinfo/python-list
= Tkinter.PhotoImage(file=gifpath)
gifsdict[gifname] = gif
L.insert(Tkinter.END, gifname)
L.pack()
img = Tkinter.Label()
img.pack()
def list_entry_clicked(*ignore):
imgname = L.get(L.curselection()[0])
img.config(image=gifsdict[imgname])
L.bind('ButtonRelease-1', list_entry_clicked
Can anyone give me an example how to apply a threshold value to an
image?
(everything above a certain brightness level becomes white, and
everything below the
level becomes black.)
I was told I should use 256-item mapping table and pass it to the
point method.
But how should the 256-item
901 - 1000 of 1468 matches
Mail list logo