Re: [Tutor] Image i/o in python

2017-07-16 Thread Alan Gauld via Tutor
On 16/07/17 17:13, D.V.N.Sarma డి.వి.ఎన్.శర్మ wrote: > In python we have a set of imread and imshow in skimage. In matplotlib.image > we again have imreadand imshow functions. In scipy.misc we again have > another set imread and imshow. Are there anyfunctional differences between > these multiple s

Re: [Tutor] Image i/o in python

2017-07-16 Thread Mats Wichmann
On 07/16/2017 10:13 AM, D.V.N.Sarma డి.వి.ఎన్.శర్మ wrote: > In python we have a set of imread and imshow in skimage. In matplotlib.image > we again have imreadand imshow functions. In scipy.misc we again have > another set imread and imshow. Are there anyfunctional differences between > these multi

[Tutor] Image i/o in python

2017-07-16 Thread D . V . N . Sarma డి . వి . ఎన్ . శర్మ
In python we have a set of imread and imshow in skimage. In matplotlib.image we again have imreadand imshow functions. In scipy.misc we again have another set imread and imshow. Are there anyfunctional differences between these multiple sets to justify their presence? … regards, Sarma. ___

Re: [Tutor] Image MAnipulation Help

2015-12-08 Thread Alan Gauld
On 08/12/15 11:24, Laura Creighton wrote: > You can do this with the GIMP. > http://howto.nicubunu.ro/gimp-remove-watermark/ > (actually searching for "GIMP remove watermark" gets you lots of > hits.) But removing watermarks could get you in lots of legal trouble. The whole point of watermarks

Re: [Tutor] Image MAnipulation Help

2015-12-08 Thread Laura Creighton
In a message of Tue, 08 Dec 2015 02:39:41 -0500, Ilesha Wise writes: >Hello, I wasnt sure if this is the email address I should be sending this >to. > >I really need help creating codes that will do the following: > > Scanned photos and slides often have dust specs, water marks, scratches >etc. Au

Re: [Tutor] Image MAnipulation Help

2015-12-08 Thread Alan Gauld
On 08/12/15 07:39, Ilesha Wise wrote: > Hello, I wasnt sure if this is the email address I should be sending this > to. Its a fair starting point but you will probably get more detailed answers on the PIL/PILLOW forums since those are the packages you will likely be using for this kind of work. (P

[Tutor] Image MAnipulation Help

2015-12-08 Thread Ilesha Wise
Hello, I wasnt sure if this is the email address I should be sending this to. I really need help creating codes that will do the following:  Scanned photos and slides often have dust specs, water marks, scratches etc. Automate their removal as much as possible and/or provide a simple way for the

Re: [Tutor] Image library

2015-06-04 Thread Alan Gauld
On 04/06/15 16:51, Alan Gauld wrote: There is no specific image folder but there is the Tkinter GUI tookit Oops, I meant "image module"... -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: htt

Re: [Tutor] Image library

2015-06-04 Thread Alan Gauld
On 04/06/15 15:09, abhijeet...@yahoo.in wrote: i wanted to know that how can i show or display a simple image using python 3.4 The Tkinter package in the standard library includes a Canvas widget which can display various forms of image. It depends what format the image is in. You will probab

Re: [Tutor] Image library

2015-06-04 Thread Laura Creighton
In a message of Thu, 04 Jun 2015 14:09:43 -, abhijeet...@yahoo.in writes: >hello , sir i wanted to know that how can i show or display a simple image >using python 3.4The thing is that i want to know that there is no image module >or library located in the library folder under python 3.4.?sir

[Tutor] Image library

2015-06-04 Thread abhijeet560
hello , sir i wanted to know that how can i show or display a simple image using python 3.4The thing is that i want to know that there is no image module or library located in the library folder under python 3.4.?sir, please help me out with this basic step..

Re: [Tutor] Image Upload FalconFramework

2014-07-12 Thread Danny Yoo
On Tue, Jul 1, 2014 at 8:51 PM, Peter Romfeld wrote: > Hi, > > I try to make a simple image upload function, in django i just used: > > for feature phones: > file = request.body > > rest: > file = request.FILES['image'].read() > > with falcon i tried but not working > req.stream.read() > > Their F

[Tutor] Image Upload FalconFramework

2014-07-01 Thread Peter Romfeld
Hi, I try to make a simple image upload function, in django i just used: for feature phones: file = request.body rest: file = request.FILES['image'].read() with falcon i tried but not working req.stream.read() Their Freenode Channel is quite empty and it seems unused, so i hope i could find so

Re: [Tutor] Image Processing

2012-12-18 Thread Prasad, Ramit
Ashkan Rahmani wrote: > > I have developed some simple c++/qt/opencv application with face > detection functionality. > for some reasons I'm going to start again them and I wan to use python 3. > Unfortunately I found opencv not supported in python 3. > 1- as I'm new in python programming, is pyth

Re: [Tutor] Image Processing

2012-12-17 Thread Ashkan Rahmani
Hello Eike, Thank you for reply... On Tue, Dec 18, 2012 at 1:09 AM, Eike Welk wrote: > Hello Ashkan! > > > On Saturday 15.12.2012 23:20:31 Ashkan Rahmani wrote: >> I have developed some simple c++/qt/opencv application with face >> detection functionality. >> for some reasons I'm going to start a

Re: [Tutor] Image Processing

2012-12-17 Thread Eike Welk
Hello Ashkan! On Saturday 15.12.2012 23:20:31 Ashkan Rahmani wrote: > I have developed some simple c++/qt/opencv application with face > detection functionality. > for some reasons I'm going to start again them and I wan to use python 3. > Unfortunately I found opencv not supported in python 3. >

Re: [Tutor] Image Processing

2012-12-15 Thread Alan Gauld
On 15/12/12 19:50, Ashkan Rahmani wrote: 3- Is there any other image processing library for python 3? 4- Basically python 3 or 2.7 is suitable for image processing? PIL is the defacto standard for image processing on Python. It is officially only available on Python 2.7 (although I think I saw

[Tutor] Image Processing

2012-12-15 Thread Ashkan Rahmani
I have developed some simple c++/qt/opencv application with face detection functionality. for some reasons I'm going to start again them and I wan to use python 3. Unfortunately I found opencv not supported in python 3. 1- as I'm new in python programming, is python 3 good choice for me? 2- Opencv

Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-18 Thread dan06
Patrick Sabin wrote: > > When I needed thumbnails of my images, I created them using ImageMagick. > ImageMagick is a very nice tool for editing images and since it is > called from the command line it is easy to invoke it from a programming > language. There are python-bindings for it, but

Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread Patrick Sabin
dan06 wrote: I've recently delved into python, about a week or so ago; I'm trying to figure out how to create on-the-fly thumbnails. Are there python standard library modules I could/should use or should I use external libraries like: GD, Gimp, or ImageMagick? When I needed thumbnails of my i

Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread Ajith Gopinath
import glob import Image for infile in glob.glob("*.jpg"): im = Image.open(infile) # converting to thumbnail image im.thumbnail((128, 128), Image.ANTIALIAS) im.save("thumb" + infile, "JPEG") Will this be of ur help Vince? On 15/09/2009, vince spicer wrote: > On Tue, Sep 15, 2009 at 10:0

Re: [Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread vince spicer
On Tue, Sep 15, 2009 at 10:03 AM, dan06 wrote: > > I've recently delved into python, about a week or so ago; I'm trying to > figure out how to create on-the-fly thumbnails. Are there python standard > library modules I could/should use or should I use external libraries like: > GD, Gimp, or Image

[Tutor] Image manipluation (On-the-fly thumbnail creation)

2009-09-15 Thread dan06
I've recently delved into python, about a week or so ago; I'm trying to figure out how to create on-the-fly thumbnails. Are there python standard library modules I could/should use or should I use external libraries like: GD, Gimp, or ImageMagick? -- View this message in context: http://www.na

Re: [Tutor] image processing

2009-03-06 Thread Kent Johnson
On Fri, Mar 6, 2009 at 7:05 PM, Harris, Sarah L wrote: > Could someone please let me know where I can find 'lots' of examples of > image processing using python? Particularly MODIS and ASTER examples. > Any feedback will be greatly appreciated. There is one complete example here: http://pyevolve.

[Tutor] image processing

2009-03-06 Thread Harris, Sarah L
Could someone please let me know where I can find 'lots' of examples of image processing using python? Particularly MODIS and ASTER examples. Any feedback will be greatly appreciated. Regards Sarah ___ Tutor maillist - Tutor@python.org http://mail.pyth

Re: [Tutor] image processing

2008-09-23 Thread Emile van Sebille
jeremiah wrote: I'm trying to do simple image manipulation but am getting an error. any ideas what i am doing wrong here? Thanks JJ #!/usr/bin/python import ImageFilter,Image name="test.jpg" file=open("./"+name,"w") Right here you're opening the file in write mode, in effect creating a new f

Re: [Tutor] image processing

2008-09-23 Thread Jerry Hill
On Tue, Sep 23, 2008 at 5:38 PM, jeremiah <[EMAIL PROTECTED]> wrote: > I'm trying to do simple image manipulation but am getting an error. any > ideas what i am doing wrong here? > > file=open("./"+name,"w") > pic=Image.open(file) You're opening the file for "w"riting, then asking PIL to read it.

[Tutor] image processing

2008-09-23 Thread jeremiah
I'm trying to do simple image manipulation but am getting an error. any ideas what i am doing wrong here? Thanks JJ #!/usr/bin/python import ImageFilter,Image name="test.jpg" file=open("./"+name,"w") pic=Image.open(file) pic.rotate(45) pic.save("new_" + name) pic.show() the error: Traceback (mo

Re: [Tutor] Image Matching

2008-08-15 Thread Kent Johnson
On Fri, Aug 15, 2008 at 3:54 AM, ShivKumar Anand <[EMAIL PROTECTED]> wrote: > Hello!! Everyone, > > I have to match two images and tell how much identical they are. > > I am trying with Python Imaging Library 1.2.6, but not able to do it > > I am using ImageChops.difference(im1, im2).histogram() an

[Tutor] Image Matching

2008-08-15 Thread ShivKumar Anand
Hello!! Everyone, I have to match two images and tell how much identical they are. I am trying with Python Imaging Library 1.2.6, but not able to do it I am using ImageChops.difference(im1, im2).histogram() and trying to achieve. regards Shiv Kumar

[Tutor] image rendering in python

2007-11-25 Thread mobiledreamers
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 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Image Analysis

2007-09-12 Thread Bill Campbell
On Wed, Sep 12, 2007, Kent Johnson wrote: >Bill Campbell wrote: >> Most mailing lists limit the size >> of messages to 40k or less. > >On this list large messages go to moderation. I think I was so >captivated with the images that I forgot about the size. A better way to >present this would be to

Re: [Tutor] Image Analysis

2007-09-12 Thread Alan Gauld
"wormwood_3" <[EMAIL PROTECTED]> wrote > Could not find it. The searchable interface at ActiveState's site > does not have it, > and I don't know of any way to search the zipped archives... I use the gmane news inteface, I dunno about Eike, but its possible the problem lies in gmane's interfac

Re: [Tutor] Image Analysis

2007-09-12 Thread Eike Welk
On Wednesday 12 September 2007 05:09, Dave Kuhlman wrote: > Please do not stuff 1 MB emails in my mailbox. Either (1) post the > images on the Web and provide a link or (2) ask before emailing > large attachments. Sorry! I guess I'm spoiled by my ADSL connection. I did not know that the limit is

Re: [Tutor] Image Analysis

2007-09-12 Thread Eike Welk
On Wednesday 12 September 2007 15:43, wormwood_3 wrote: > Eike, if you would be able to send me your post, even just to my > address and not the tutor list, I would greatly appreciate it! > Seems it had some neat things in it. I've sent it to your e-mail address ([EMAIL PROTECTED]). __

Re: [Tutor] Image Analysis

2007-09-12 Thread Kent Johnson
wormwood_3 wrote: > Could not find it. The searchable interface at ActiveState's site does not > have it, and I don't know of any way to search the zipped archives... There is a plaintext archive at http://mail.python.org/pipermail/tutor/ Here is the post you want though without the attachments:

Re: [Tutor] Image Analysis

2007-09-12 Thread wormwood_3
some neat things in it. -Sam - Original Message From: wormwood_3 <[EMAIL PROTECTED]> To: Python Tutorlist Sent: Wednesday, September 12, 2007 9:21:28 AM Subject: Re: [Tutor] Image Analysis Very strange. This is the second time that I know of in the last month that I have n

Re: [Tutor] Image Analysis

2007-09-12 Thread wormwood_3
uesday, September 11, 2007 11:09:36 PM Subject: Re: [Tutor] Image Analysis On Wed, Sep 12, 2007 at 01:57:35AM +0200, Eike Welk wrote: > I have attached the program, the input image, and the output image. > Please do not stuff 1 MB emails in my mailbox. Either (1) post the images on the Web a

Re: [Tutor] Image Analysis

2007-09-12 Thread Kent Johnson
Bill Campbell wrote: > Most mailing lists limit the size > of messages to 40k or less. On this list large messages go to moderation. I think I was so captivated with the images that I forgot about the size. A better way to present this would be to put the images on a web site and reference them

Re: [Tutor] Image Analysis

2007-09-11 Thread Bill Campbell
On Tue, Sep 11, 2007, Eric Brunson wrote: > >Just my opinion, but I didn't mind the attachments, I felt they added >quite a bit to the discussion and I certainly appreciated the input on >the application of the libraries. > >My opinion on your tone, I'll keep to myself. Figure out the total size

Re: [Tutor] Image Analysis

2007-09-11 Thread Eric Brunson
Just my opinion, but I didn't mind the attachments, I felt they added quite a bit to the discussion and I certainly appreciated the input on the application of the libraries. My opinion on your tone, I'll keep to myself. Dave Kuhlman wrote: > On Wed, Sep 12, 2007 at 01:57:35AM +0200, Eike Welk

Re: [Tutor] Image Analysis

2007-09-11 Thread Dave Kuhlman
On Wed, Sep 12, 2007 at 01:57:35AM +0200, Eike Welk wrote: > I have attached the program, the input image, and the output image. > Please do not stuff 1 MB emails in my mailbox. Either (1) post the images on the Web and provide a link or (2) ask before emailing large attachments. Thank you. D

Re: [Tutor] Image Analysis

2007-09-11 Thread wormwood_3
Thanks very much! This may be exactly what I need, and in any case will be a great starting point! -Sam ___ - Original Message From: "Carnell, James E" <[EMAIL PROTECTED]> To: tutor@python.org Sent: Tuesday, September 11, 2007 9:45:30 AM Sub

Re: [Tutor] Image Analysis

2007-09-11 Thread Carnell, James E
"wormwood_3" <[EMAIL PROTECTED]> wrote > I need some way to analyze an image for color patterns. > > My only lead right now is PIL, and I am not sure if it will meet my > needs. I am using PIL and numpy # something hat at least looks sorta like import numpy import PIL myImage = Image.

Re: [Tutor] Image Analysis

2007-09-11 Thread Alan Gauld
"wormwood_3" <[EMAIL PROTECTED]> wrote > I need some way to analyze an image for color patterns. > > My only lead right now is PIL, and I am not sure if it will meet my > needs. PIL should be usable but I think there is also a Pyton wrapper for ImageMagick and I think it has some colour managem

[Tutor] Image Analysis

2007-09-10 Thread wormwood_3
I have thought up a project for myself that is rather beyond my current knowledge, but I think it will be fun and very informative. I'll leave out the details right now, but the task that will be the hardest is that I need some way to analyze an image for color patterns. I would like to be able

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Carlos
Hello, Well seems like Danny was right, the backslashes were the problem! This really got an 11 in my frustration meter. Thanks for your help Carlos ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Luke Paireepinart
Carlos wrote: > Hello, > > I'm trying to do what Kent suggested, but I have a little problem, no > matter were I put my image or if I use sys.path.append to append the > folder were my Image is located it is impossible to open the image. I > know that this is a silly question but what is going o

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Danny Yoo
> I'm trying to do what Kent suggested, but I have a little problem, no > matter were I put my image or if I use sys.path.append to append the > folder were my Image is located it is impossible to open the image. I > know that this is a silly question but what is going on? sys.path contains a l

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Carlos
Hello, I'm trying to do what Kent suggested, but I have a little problem, no matter were I put my image or if I use sys.path.append to append the folder were my Image is located it is impossible to open the image. I know that this is a silly question but what is going on? I like to solve probl

Re: [Tutor] Image Question, List of Image Colors

2007-01-11 Thread Kent Johnson
Carlos wrote: > Hello, > > Could someone who is familiar with image manipulation tell me what is > the best way to obtain the list of colors inside an image? > > By best I'm referring to something that gets the job done in the fastest > way, because this operation will be repeated a number of t

[Tutor] Image Question, List of Image Colors

2007-01-11 Thread Carlos
Hello, Could someone who is familiar with image manipulation tell me what is the best way to obtain the list of colors inside an image? By best I'm referring to something that gets the job done in the fastest way, because this operation will be repeated a number of times. Thanks for your help,

Re: [Tutor] image

2005-11-09 Thread Liam Clarke-Hutchinson
Oh dear, I missed that query. Nevermind google, try docs.python.org... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alex Hunsley Sent: Thursday, 10 November 2005 12:08 p.m. To: Shi Mu Cc: tutor@python.org Subject: Re: [Tutor] image Shi Mu wrote

Re: [Tutor] image

2005-11-09 Thread Alex Hunsley
Shi Mu wrote: >any python module to calculate sin, cos, arctan? > > STFW. Have you heard of this site called "Google"? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] image

2005-11-08 Thread Kent Johnson
Shi Mu wrote: > any python module to calculate sin, cos, arctan? The index to the Library Reference has the answer to this question... Kent -- http://www.kentsjohnson.com ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo

Re: [Tutor] image

2005-11-08 Thread Shi Mu
any python module to calculate sin, cos, arctan? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] image

2005-11-07 Thread Shi Mu
why the follwoing code report the error: Traceback (most recent call last): File "C:\Python23\lib\site-packages\Pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript exec codeObject in __main__.__dict__ File "C:\Python23\Examples\AppB\text.py", line 24, in ? text.image_creat

[Tutor] Image manipulation

2005-03-16 Thread Ertl, John
All, I have an image with a bunch of white space that I need to crop. I would like to automate the process using python and I was wondering what is the best module for image manipulation? I have seen PIL and Python magic what is recommended? John Ertl _