Re: A photo/image/video sharing app in Python

2015-09-21 Thread Cai Gengyang
Hi ChrisA, 1) A system where users can upload photos/images/videos of their loved ones and family onto the web-based app (It's going to be web-based website) Creating a web site using Python is pretty easy. Grab Flask, Django, etc, and off you go.Uploading files isn't difficult, although

A photo/image/video sharing app in Python

2015-09-21 Thread Cai Gengyang
Hello, So, I want to use Python to design a photo/image/video sharing app that i can test on users. I have Python 2.7.10, 3.3.2 and 3.3.4 downloaded and am using a Mac OS X Yosemite Version 10.10.2 laptop and having gone through the Python course on CodeAcademy a while ago (though I probably

Re: A photo/image/video sharing app in Python

2015-09-21 Thread Christian Gollwitzer
their photos/images and videos into great looking real-time cartoons based on themes > (what technologies would I need to learn to create this?) Magic. Seriously, have you already seen a software which does approximately the image editing that you have in mind? If not, chan

Re: A photo/image/video sharing app in Python

2015-09-21 Thread Grant Edwards
On 2015-09-21, Cai Gengyang wrote: > I'll also need the capability to let users edit their photos/images > and videos into great looking real-time cartoons based on themes > (what technologies would I need to learn to create this?) Well, the usual technology for turning

Re: Copy polygonal subset of an image

2015-08-28 Thread Laura Creighton
In a message of Fri, 28 Aug 2015 13:30:57 -0700, Marc Camacho Cateura writes: Hi all, For a project, I need to copy a polygonal subset of an image. I have eight points of panoramic image, and I want to copy this subset onto another panoramic image. I find ways to do this with PIL but only

Copy polygonal subset of an image

2015-08-28 Thread Marc Camacho Cateura
Hi all, For a project, I need to copy a polygonal subset of an image. I have eight points of panoramic image, and I want to copy this subset onto another panoramic image. I find ways to do this with PIL but only with a box mask. And I need a polygonal subset from the eight points... I'm new

Re: Fast capture and 2D image stacking as 3D numpy array with Python and Raspberry Pi

2015-07-07 Thread Mark Lawrence
On 07/07/2015 00:16, Agustin Cruz wrote: On Monday, July 6, 2015 at 6:00:42 PM UTC-4, Mark Lawrence wrote: On 06/07/2015 22:31, Agustin Cruz wrote: I'm working on a Python - Raspberry Pi project in which I need to take about 30 images per second (no movie) and stack each 2D image to a 3D

Re: Fast capture and 2D image stacking as 3D numpy array with Python and Raspberry Pi

2015-07-07 Thread Oscar Benjamin
On Mon, 6 Jul 2015 at 22:36 Agustin Cruz agustin.c...@gmail.com wrote: I'm working on a Python - Raspberry Pi project in which I need to take about 30 images per second (no movie) and stack each 2D image to a 3D array using numpy array, without saving each 2D capture as a file (because

Re: Fast capture and 2D image stacking as 3D numpy array with Python and Raspberry Pi

2015-07-06 Thread Agustin Cruz
On Monday, July 6, 2015 at 6:00:42 PM UTC-4, Mark Lawrence wrote: On 06/07/2015 22:31, Agustin Cruz wrote: I'm working on a Python - Raspberry Pi project in which I need to take about 30 images per second (no movie) and stack each 2D image to a 3D array using numpy array, without saving

Re: Fast capture and 2D image stacking as 3D numpy array with Python and Raspberry Pi

2015-07-06 Thread Mark Lawrence
On 06/07/2015 22:31, Agustin Cruz wrote: I'm working on a Python - Raspberry Pi project in which I need to take about 30 images per second (no movie) and stack each 2D image to a 3D array using numpy array, without saving each 2D capture as a file (because is slow). I found this Python code

Fast capture and 2D image stacking as 3D numpy array with Python and Raspberry Pi

2015-07-06 Thread Agustin Cruz
I'm working on a Python - Raspberry Pi project in which I need to take about 30 images per second (no movie) and stack each 2D image to a 3D array using numpy array, without saving each 2D capture as a file (because is slow). I found this Python code to take images as fast as possible, but i

Re: calculating entropy of image or alternative?

2015-07-04 Thread Christian Gollwitzer
homogeneous. I was thinking this code (entropy of image) can be used for measuring the level of disorder of a group of points in the image. For example: Imagine that we have 3 images, each image has 6 dots, the first one has very ordered dots , the second one have dots a little bit disordered

Re: calculating entropy of image or alternative?

2015-07-03 Thread Robert Kern
homogeneous. I was thinking this code (entropy of image) can be used for measuring the level of disorder of a group of points in the image. For example: Imagine that we have 3 images, each image has 6 dots, the first one has very ordered dots , the second one have dots a little bit disordered

calculating entropy of image or alternative?

2015-07-03 Thread telmo bacile
of image) can be used for measuring the level of disorder of a group of points in the image. For example: Imagine that we have 3 images, each image has 6 dots, the first one has very ordered dots , the second one have dots a little bit disordered and the third one has very dissordered dots

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-18 Thread random832
On Wed, Jun 17, 2015, at 20:23, Chris Angelico wrote: On Thu, Jun 18, 2015 at 7:55 AM, Paul Hubert phbr...@gmail.com wrote: f_in = open(dafile, 'rb') f_out = gzip.open('/Users/Paul/Desktop/scripts/pic.jpg.gz', 'wb') f_out.writelines(f_in) f_out.close() f_in.close() Are you sure you

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-18 Thread Chris Angelico
not to use shutil.copyfileobj? If the file is too big (or might be too big) to want to fit into memory, then sure. But a typical JPEG image isn't going to be gigabytes of content; chances are it's going to be a meg or so at most, and that doesn't justify the overhead of chunking. Just read

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-18 Thread Laura Creighton
I got to this party late. One way to get the malformed upload message is is you gzip something that already is gzipped, and send that up the pipe. worth checking. Laura -- https://mail.python.org/mailman/listinfo/python-list

Posting gzip'd image file - server says Malformed Upload?

2015-06-17 Thread Paul Hubert
Any idea why a server might be returning the message, in json format, Malformed Upload? The image is gzipped as the server requires... Someone on another forum said that he thinks Python requests automatically gzips? I have the code working in vb.net... no idea why it wont work in Python

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-17 Thread Chris Angelico
On Thu, Jun 18, 2015 at 7:55 AM, Paul Hubert phbr...@gmail.com wrote: f_in = open(dafile, 'rb') f_out = gzip.open('/Users/Paul/Desktop/scripts/pic.jpg.gz', 'wb') f_out.writelines(f_in) f_out.close() f_in.close() Are you sure you want iteration and writelines() here? I would be inclined to

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-17 Thread Michael Torrie
On 06/17/2015 06:45 PM, Paul Hubert wrote: On Wednesday, June 17, 2015 at 8:24:17 PM UTC-4, Chris Angelico wrote: Are you sure you want iteration and writelines() here? I would be inclined to avoid those for any situation that isn't plain text. If the file isn't too big, I'd just read it all

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-17 Thread Paul Hubert
On Wednesday, June 17, 2015 at 9:46:25 PM UTC-4, Chris Angelico wrote: On Thu, Jun 18, 2015 at 10:45 AM, Paul Hubert phbr...@gmail.com wrote: On Wednesday, June 17, 2015 at 8:24:17 PM UTC-4, Chris Angelico wrote: Are you sure you want iteration and writelines() here? I would be inclined

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-17 Thread Chris Angelico
On Thu, Jun 18, 2015 at 10:45 AM, Paul Hubert phbr...@gmail.com wrote: On Wednesday, June 17, 2015 at 8:24:17 PM UTC-4, Chris Angelico wrote: Are you sure you want iteration and writelines() here? I would be inclined to avoid those for any situation that isn't plain text. If the file isn't

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-17 Thread Michael Torrie
On 06/17/2015 09:48 PM, Paul Hubert wrote: Same result - server says malformed upload. :/ You may want to run a sniffer like wireshark and see what the difference is between the packets coming from your C# program and coming from Python. -- https://mail.python.org/mailman/listinfo/python-list

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-17 Thread Chris Angelico
On Thu, Jun 18, 2015 at 1:48 PM, Paul Hubert phbr...@gmail.com wrote: # Now: gz = '/Users/Paul/Desktop/scripts/pic.jpg.gz' with open(dafile, 'rb') as f_in, gzip.open(gz, 'wb') as f_out: f_out.write(f_in.read()) Same result - server says malformed upload. :/ Oh well, was worth a shot.

Re: Posting gzip'd image file - server says Malformed Upload?

2015-06-17 Thread Paul Hubert
On Wednesday, June 17, 2015 at 8:24:17 PM UTC-4, Chris Angelico wrote: Are you sure you want iteration and writelines() here? I would be inclined to avoid those for any situation that isn't plain text. If the file isn't too big, I'd just read it all in a single blob and then write it all out

Re: Question About Image Processing in Python

2015-05-28 Thread Alan Gauld
On 28/05/15 11:34, Serge Christian Ibala wrote: I want to know which version of Python is compatible (or can be associated with which version of which tools or package for image processing) It would help if you told us what kind of image processing. If you mean programmatic manipulation

Getting an image from a file on windows

2015-05-28 Thread IronManMark20
Hello, I have been working on a function that gets a bitmap of the thumbnail for a file. I have had problems getting a large image (256x256) and I was wondering if someone could help me on one object initialization that is driving me nuts. I have code here: https://gist.github.com

Re: Getting an image from a file on windows

2015-05-28 Thread MRAB
On 2015-05-29 01:03, IronManMark20 wrote: Hello, I have been working on a function that gets a bitmap of the thumbnail for a file. I have had problems getting a large image (256x256) and I was wondering if someone could help me on one object initialization that is driving me nuts. I have code

Re: Getting an image from a file on windows

2015-05-28 Thread IronManMark20
On Thursday, May 28, 2015 at 5:37:07 PM UTC-7, MRAB wrote: On 2015-05-29 01:03, IronManMark20 wrote: Hello, I have been working on a function that gets a bitmap of the thumbnail for a file. I have had problems getting a large image (256x256) and I was wondering if someone could help me

Re: Getting an image from a file on windows

2015-05-28 Thread IronManMark20
On Thursday, May 28, 2015 at 5:37:07 PM UTC-7, MRAB wrote: On 2015-05-29 01:03, IronManMark20 wrote: Hello, I have been working on a function that gets a bitmap of the thumbnail for a file. I have had problems getting a large image (256x256) and I was wondering if someone could help me

Question About Image Processing in Python

2015-05-28 Thread Serge Christian Ibala
Hello All, I want to know which version of Python is compatible (or can be associated with which version of which tools or package for image processing) I am working under Window and it is so complicated to find out which version of which tool goes with which other version? I want to use

Re: Question About Image Processing in Python

2015-05-28 Thread Oscar Benjamin
On 28 May 2015 at 11:34, Serge Christian Ibala christian.ib...@gmail.com wrote: Hello All, I want to know which version of Python is compatible (or can be associated with which version of which tools or package for image processing) I am working under Window and it is so complicated to find

Re: Question About Image Processing in Python

2015-05-28 Thread Todd
On Thu, May 28, 2015 at 1:05 PM, Terry Reedy tjre...@udel.edu wrote: On 5/28/2015 6:34 AM, Serge Christian Ibala wrote: I want to use the following package “numpy, matplotib, mahotas, ipython OpenCV and SciPy opencv seems to be the only one not available for 3.x. OpenCV 3 (which is

Re: Question About Image Processing in Python

2015-05-28 Thread Terry Reedy
On 5/28/2015 6:34 AM, Serge Christian Ibala wrote: I want to know which version of Python is compatible (or can be associated with which version of which tools or package for image processing) pillow is a one standard for image processing but I see that mahotas does different things. pillow

Re: Question About Image Processing in Python

2015-05-28 Thread Sturla Molden
Serge Christian Ibala christian.ib...@gmail.com wrote: Or what is the recommendation of Python for image processing? Basic setup everyone should have: Python NumPy SciPy (e.g. scipy.ndimage) Cython C and C++ compiler matplotlib scikit-image scikit-learn pillow Also consider: mahotas tifffile

[issue21574] Port image types detections from PIL to the imghdr module

2015-04-19 Thread Claudiu Popa
Changes by Claudiu Popa pcmantic...@gmail.com: -- stage: needs patch - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21574 ___ ___

Re: Image rotation issue

2015-03-30 Thread Ian Kelly
(rotimg.getdata()) But grabbing data from the rotimg does not work as it does not seem to return an image with swapped dimensions... What am I missing? Have you tried passing the expand flag to rotate? http://pillow.readthedocs.org/en/latest/reference/Image.html#PIL.Image.Image.rotate I'm not sure

Image rotation issue

2015-03-30 Thread kai . peters
Last week some readers have kindly supplied ideas and code for a question I had asked around a form of image data compression required for specialized display hardware. I was able to solve my issues for all but one: The black white only device (1024 (X) x 1280 (Y)) expects the compressed

Re: Image rotation issue

2015-03-30 Thread Chris Angelico
On Tue, Mar 31, 2015 at 8:22 AM, kai.pet...@gmail.com wrote: rotimg = img.rotate(270) # rotation is counterclockwise Unless the 90 and 270 cases are documented as being handled specially, I'd look for a dedicated function for doing those changes. A quick perusal of the docs showed up this:

Re: Image rotation issue

2015-03-30 Thread high5storage
On Monday, 30 March 2015 16:48:08 UTC-7, Chris Angelico wrote: On Tue, Mar 31, 2015 at 8:22 AM, duderino wrote: rotimg = img.rotate(270) # rotation is counterclockwise Unless the 90 and 270 cases are documented as being handled specially, I'd look for a dedicated function for doing those

Re: Image rotation issue

2015-03-30 Thread Chris Angelico
On Tue, Mar 31, 2015 at 3:04 PM, high5stor...@gmail.com wrote: Neither one produces good output when the compression is applied. Oh well, was worth a try. Don't think it's related to fax standards - it's proprietary (E-Ink Tile) Doesn't need to be specifically _related_, but it's looking

Georeferencing Image with GDAL

2015-03-19 Thread Sumesh K.C.
Hello Everyone, I've been trying to georeference image with GDAL. I've a number of GCPs (Ground Control Points) that can be easily identified on the image. And what I'm trying is to create a program to georeference image by entering the GCP value on the corresponding point on the image

Re: Georeferencing Image with GDAL

2015-03-19 Thread Fabien
On 19.03.2015 09:00, Sumesh K.C. wrote: I've been trying to georeference image with GDAL. (...) I'm trying to do everything for the beginning. Can anyone guide me, how i should start? Hi, first I would try to do some tutorials about GDAL and read some documentation and examples. Then I

[issue21574] Port image types detections from PIL to the imghdr module

2015-03-14 Thread Claudiu Popa
Claudiu Popa added the comment: Well, we should have test files for each format imghdr supports. Doesn't PIL have test files for them? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21574

[issue21574] Port image types detections from PIL to the imghdr module

2015-03-10 Thread Andriy Sokolovskiy
Andriy Sokolovskiy added the comment: @Claudiu Popa, IIRC I did not add 1-2 test images because I not found how to make image or how to convert image to this format. So, if there will no chance to add them, should we remove these formats from the patch

[issue21574] Port image types detections from PIL to the imghdr module

2015-03-10 Thread Anand B Pillai
Changes by Anand B Pillai abpil...@gmail.com: -- nosy: +pythonhacker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21574 ___ ___ Python-bugs-list

[issue21574] Port image types detections from PIL to the imghdr module

2015-03-09 Thread Claudiu Popa
Claudiu Popa added the comment: In general, the patch looks good, I left a couple of comments on Rietvld. It should be applied to 3.5 only. Also, there are some image test files which aren't included in this patch, could you update it to include them? Thanks

Re: Error when trying to open an image

2014-11-19 Thread Denis McMahon
On Mon, 17 Nov 2014 02:03:01 +0100, Abdul Abdul wrote: Thanks for your kind reply. Yes, it seemed it worked with an older version than 3.x I got the following output: Process finished with exit code 0 So, what is the purpose of open() here? *STOP TOP-POSTING! IT@S GETTING ANNOYING

Error when trying to open an image

2014-11-16 Thread Abdul Abdul
Hello, I'm trying to open an image using the `Python Imaging Library` as follows: from PIL import Image img = Image.open('xyz.jpg') But, got the following error: File C:/Users/abc/PycharmProjects/untitled/open_image.py, line 2, in module from PIL import Image File C:\Python34\lib\site

Re: Error when trying to open an image

2014-11-16 Thread Gary Herron
On 11/16/2014 11:37 AM, Abdul Abdul wrote: Hello, I'm trying to open an image using the `Python Imaging Library` as follows: from PIL import Image img = Image.open('xyz.jpg') But, got the following error: File C:/Users/abc/PycharmProjects/untitled/open_image.py, line 2, in module from

Re: Error when trying to open an image

2014-11-16 Thread Terry Reedy
On 11/16/2014 2:37 PM, Abdul Abdul wrote: Hello, I'm trying to open an image using the `Python Imaging Library` as follows: from PIL import Image img = Image.open('xyz.jpg') But, got the following error: File C:/Users/abc/PycharmProjects/untitled/open_image.py, line 2, in module from

Re: Error when trying to open an image

2014-11-16 Thread Abdul Abdul
, Abdul Abdul wrote: Hello, I'm trying to open an image using the `Python Imaging Library` as follows: from PIL import Image img = Image.open('xyz.jpg') But, got the following error: File C:/Users/abc/PycharmProjects/untitled/open_image.py, line 2, in module from PIL import Image

Re: Error when trying to open an image

2014-11-16 Thread Ben Finney
Abdul Abdul abdul.s...@gmail.com writes: Thanks for your kind reply. Abdul, please don't top-post. Instead, trim the quoted material just to what you're responding to; then post your responses interleaved URL:https://en.wikipedia.org/wiki/Posting_style#Interleaved_style. I got the following

[issue22589] mimetypes uses image/x-ms-bmp as the type for bmp files

2014-10-09 Thread Brian Matthews
New submission from Brian Matthews: In the file mimetypes.py the mime type for bmp files should be image/bmp for IE8 and later. the problem is that if the content header for 'nosniff' is set, then the bmp file fails to display due to the incorrect mime type. -- components: IO messages

[issue21574] Port image types detections from PIL to the imghdr module

2014-10-02 Thread Andriy Sokolovskiy
Andriy Sokolovskiy added the comment: Hi! Here is first version of patch. What I've done: * Ported 10 new image formats from PIL (tests included) * Improved existing file detections like PIL does. * Add some byte manipulation routines One more thing - I removed `ord()` calls, because python3

[issue21574] Port image types detections from PIL to the imghdr module

2014-10-02 Thread Andriy Sokolovskiy
Changes by Andriy Sokolovskiy sokand...@yandex.ru: Added file: http://bugs.python.org/file36786/issue21574.zip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21574 ___

[issue21574] Port image types detections from PIL to the imghdr module

2014-10-01 Thread Andriy Sokolovskiy
Andriy Sokolovskiy added the comment: I'll try to do this issue. https://mail.python.org/mailman/private/core-mentorship/2014-October/002766.html -- nosy: +coldmind ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21574

[issue21574] Port image types detections from PIL to the imghdr module

2014-07-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Claudiu, are you working on this issue? If not, I'll start writing a patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21574 ___

[issue21574] Port image types detections from PIL to the imghdr module

2014-07-25 Thread Claudiu Popa
Claudiu Popa added the comment: No, I didn't start any work on this and right now, with EuroPython, I don't have that much time to start, so feel free to take it and write a patch. -- ___ Python tracker rep...@bugs.python.org

Re: Image Upload with FalconFramework

2014-07-03 Thread Mark Lawrence
On 03/07/2014 04:54, Peter Romfeld wrote: Hi, I am stuck at a simple image upload function, in django i just used: for feature phones: file = request.body iOS with Form: class ImageForm(forms.Form): image = forms.FileField() What is forms? image is defined at the class level

Image Upload with FalconFramework

2014-07-02 Thread Peter Romfeld
Hi, I am stuck at a simple image upload function, in django i just used: for feature phones: file = request.body iOS with Form: class ImageForm(forms.Form): image = forms.FileField() form = ImageForm(request.POST, request.FILES) file = request.FILES['image'].read() with falcon i tried

[issue20197] Support WebP image format detection in imghdr module

2014-05-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20197 ___ ___

[issue20197] Support WebP image format detection in imghdr module

2014-05-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4fd17e28d4bf by Serhiy Storchaka in branch 'default': Issue #20197: Added support for the WebP image type in the imghdr module. http://hg.python.org/cpython/rev/4fd17e28d4bf -- nosy: +python-dev

[issue20197] Support WebP image format detection in imghdr module

2014-05-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Fabrice and Claudiu. -- resolution: - fixed stage: commit review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20197

[issue21574] Port image types detections from PIL to the imghdr module

2014-05-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: It would be good to add support of all image types which are supported in PIL to the imghdr module. -- components: Library (Lib) keywords: easy messages: 219078 nosy: Claudiu.Popa, effbot, serhiy.storchaka priority: normal severity: normal stage

[issue21574] Port image types detections from PIL to the imghdr module

2014-05-25 Thread Claudiu.Popa
Claudiu.Popa added the comment: Sounds good, I'll create a patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21574 ___ ___ Python-bugs-list

Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread mikejohnryan08
Hello, I have a set of aerial images which I am trying to clip by their overlapping areas, for use in a more involved program I am writing with PIL. What would be the best method with Python to extract the overlapping area from a pair of images? I know there are libraries out there that could

Re: Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread Chris Angelico
On Tue, May 20, 2014 at 11:05 AM, mikejohnrya...@gmail.com wrote: I have a set of aerial images which I am trying to clip by their overlapping areas, for use in a more involved program I am writing with PIL. What would be the best method with Python to extract the overlapping area from a

Re: Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread mikejohnryan08
On Monday, May 19, 2014 9:17:05 PM UTC-4, Chris Angelico wrote: On Tue, May 20, 2014 at 11:05 AM, mikejohnrya...@gmail.com wrote: I have a set of aerial images which I am trying to clip by their overlapping areas, for use in a more involved program I am writing with PIL. What

Re: Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread Chris Angelico
On Tue, May 20, 2014 at 11:30 AM, mikejohnrya...@gmail.com wrote: Thanks for your response. For my purpose, the images won't have to be 'perfectly' matched, but hopefully as close as possible. Registration algorithms won't work for this reason--the images aren't identical to each other

Re: Clip Raster Image Pair by Overlapping Area using Python

2014-05-19 Thread Rustom Mody
On Tuesday, May 20, 2014 7:13:42 AM UTC+5:30, Chris Angelico wrote: On a separate topic, you're posting through Google Groups with its abhorrent bugs. Can you please either edit your posts before sending (removing the blank lines, wrapping to a sane width, and trimming the quoted text), or

Re:Python Image Registration and Cropping?

2014-05-04 Thread Dave Angel
with it yet. Any help or advice is appreciated! Thanks! Without some context I'd call the problem intractable. I've done such things using Photoshop to insert elements of one image into another. But even describing an algorithm is difficult, never mind trying to code it. If I had

Re: Python Image Registration and Cropping?

2014-05-04 Thread Ian Kelly
probably be done with Python Imaging Library but I'm not very familiar with it yet. Any help or advice is appreciated! Thanks! Without some context I'd call the problem intractable. I've done such things using Photoshop to insert elements of one image into another. But even describing

Re: Python Image Registration and Cropping?

2014-05-04 Thread mikejohnryan08
such things using Photoshop to insert elements of one image into another. But even describing an algorithm is difficult, never mind trying to code it. Well, fortunately there are known algorithms already: http://en.wikipedia.org/wiki/Image_registration If I had such a challenge

Python Image Registration and Cropping?

2014-05-03 Thread mikejohnryan08
Hello, Is there a Python tool or function that can register two images together (line them up visually), and then crop them to the common overlap area? I'm assuming this can probably be done with Python Imaging Library but I'm not very familiar with it yet. Any help or advice is appreciated!

Re: Python Image Registration and Cropping?

2014-05-03 Thread Mark Lawrence
On 03/05/2014 22:47, mikejohnrya...@gmail.com wrote: Hello, Is there a Python tool or function that can register two images together (line them up visually), and then crop them to the common overlap area? I'm assuming this can probably be done with Python Imaging Library but I'm not very

Re: Unpacking U-Boot image file

2014-04-11 Thread Grant Edwards
On 2014-04-10, Rhodri James rho...@wildebst.org.uk wrote: On Wed, 09 Apr 2014 18:18:56 +0100, Rustom Mody rustompm...@gmail.com wrote: On Wednesday, April 9, 2014 9:36:40 PM UTC+5:30, trewio wrote: How to extract files from U-Boot image file, LZMA-compressed? Is there a Python script

Re: Unpacking U-Boot image file

2014-04-10 Thread Rhodri James
On Wed, 09 Apr 2014 18:18:56 +0100, Rustom Mody rustompm...@gmail.com wrote: On Wednesday, April 9, 2014 9:36:40 PM UTC+5:30, trewio wrote: How to extract files from U-Boot image file, LZMA-compressed? Is there a Python script that can do this properly? For lzma theres this (recent

Re: Unpacking U-Boot image file

2014-04-10 Thread Rustom Mody
On Friday, April 11, 2014 3:31:50 AM UTC+5:30, Rhodri James wrote: On Wed, 09 Apr 2014 18:18:56 +0100, Rustom Mody After that.. whats the U-boot format? The Fine Manual (http://www.denx.de/wiki/view/DULG/UBootImages) isn't very forthcoming, sadly; U-Boot operates on image files which

Unpacking U-Boot image file

2014-04-09 Thread trewio
How to extract files from U-Boot image file, LZMA-compressed? Is there a Python script that can do this properly? -- https://mail.python.org/mailman/listinfo/python-list

Re: Unpacking U-Boot image file

2014-04-09 Thread Rustom Mody
On Wednesday, April 9, 2014 9:36:40 PM UTC+5:30, trewio wrote: How to extract files from U-Boot image file, LZMA-compressed? Is there a Python script that can do this properly? For lzma theres this (recent) python library https://docs.python.org/dev/library/lzma.html Though you might just

Re: Unpacking U-Boot image file

2014-04-09 Thread Adnan Sadzak
files from U-Boot image file, LZMA-compressed? Is there a Python script that can do this properly? For lzma theres this (recent) python library https://docs.python.org/dev/library/lzma.html Though you might just be better off with the command-line xz unxz etc After that.. whats the U

Re: Unpacking U-Boot image file

2014-04-09 Thread trewio
I need decompress image(modem), and I deciced use some Python script or utility which capable run on Python for Windows OS. - Original Message - From: Adnan Sadzak Sent: 04/09/14 08:33 PM To: python-list Subject: Re: Unpacking U-Boot image file I belive you are trying

Re: Unpacking U-Boot image file

2014-04-09 Thread trewio
@python.org Subject: Re: Unpacking U-Boot image file On Wednesday, April 9, 2014 9:36:40 PM UTC+5:30, trewio wrote: How to extract files from U-Boot image file, LZMA-compressed? Is there a Python script that can do this properly? For lzma theres this (recent) python library https

Re: Unpacking U-Boot image file

2014-04-09 Thread laguna-mc
I know about Binwalk, it can run on Linux OS only. I am looking for Python script that can run on Windows too. Thank you. - Original Message - From: Adnan Sadzak Sent: 04/09/14 11:37 PM To: trewio Subject: Re: Unpacking U-Boot image file Oh then see Craig's page [0]. You can find

Re:Unpacking U-Boot image file

2014-04-09 Thread Dave Angel
trewio laguna...@mail.com Wrote in message: How to extract files from U-Boot image file, LZMA-compressed? Is there a Python script that can do this properly? Use the lzma module in Python 3.3 for starters -- DaveA -- https://mail.python.org/mailman/listinfo/python-list

Re: Unpacking U-Boot image file

2014-04-09 Thread Dave Angel
: Rustom Mody Sent: 04/09/14 08:18 PM To: python-list@python.org Subject: Re: Unpacking U-Boot image file On Wednesday, April 9, 2014 9:36:40 PM UTC+5:30, trewio wrote: How to extract files from U-Boot image file, LZMA-compressed? Is there a Python script that can do this properly? For lzma

[issue11362] image/webp missing from mimetypes.py

2014-03-18 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - mimetypes does not support webm type ___ Python tracker rep...@bugs.python.org

[issue20919] Image.show() does not open the image on windows xp

2014-03-13 Thread Yamini Joshi
Changes by Yamini Joshi yamini.1...@gmail.com: -- components: IDLE nosy: Yamini.Joshi priority: normal severity: normal status: open title: Image.show() does not open the image on windows xp type: behavior versions: Python 2.7 ___ Python tracker rep

[issue20919] Image.show() does not open the image on windows xp

2014-03-13 Thread Yamini Joshi
New submission from Yamini Joshi: On using PIL, this command works fine on Windows 7 and opens the image on default image viewer but on Windows xp, it just opens the viewer w/o the image. -- ___ Python tracker rep...@bugs.python.org http

[issue20919] Image.show() does not open the image on windows xp

2014-03-13 Thread Ned Deily
Ned Deily added the comment: PIL is a third-party distribution and thus not part of the Python standard library. See its page on the Python Package Index here: https://pypi.python.org/pypi/PIL Be aware that, AFAIK, PIL is no longer being developed. If you aren't already using it, you might

Re: image processing in python and opencv

2014-03-10 Thread Mark H. Harris
On Sunday, March 9, 2014 2:09:25 PM UTC-5, Gary Herron wrote: i have no idea how to retrieve indexed images stored in ordered dictionary, using its values like : blue,green,red mean along with contrast, energy, homogeneity and correlation. as i have calculated the euclidean distance and i

[issue20197] Support WebP image format detection in imghdr module

2014-03-10 Thread Claudiu.Popa
Claudiu.Popa added the comment: Thanks for your patch, Fabrice! I've uploaded a change to your patch, by adding a .webp test file and adding the .webp format in imghdr's test suite. -- Added file: http://bugs.python.org/file34338/issue20197.patch

[issue20197] Support WebP image format detection in imghdr module

2014-03-10 Thread Xavier Combelle
Changes by Xavier Combelle xavier.combe...@gmail.com: -- nosy: +xcombelle ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20197 ___ ___

[issue20197] Support WebP image format detection in imghdr module

2014-03-10 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: Added file: http://bugs.python.org/file34341/issue20197_v1.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20197 ___

[issue20197] Support WebP image format detection in imghdr module

2014-03-10 Thread Claudiu.Popa
Changes by Claudiu.Popa pcmantic...@gmail.com: Added file: http://bugs.python.org/file34344/issue20197_v2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20197 ___

image processing in python and opencv

2014-03-09 Thread Varsha Holla
i have no idea how to retrieve indexed images stored in ordered dictionary, using its values like : blue,green,red mean along with contrast, energy, homogeneity and correlation. as i have calculated the euclidean distance and i don't know how to display the images which are similar. thanks in

Re: image processing in python and opencv

2014-03-09 Thread Gary Herron
On 03/09/2014 10:56 AM, Varsha Holla wrote: i have no idea how to retrieve indexed images stored in ordered dictionary, using its values like : blue,green,red mean along with contrast, energy, homogeneity and correlation. as i have calculated the euclidean distance and i don't know how to

[issue20197] Support WebP image format detection in imghdr module

2014-01-21 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20197 ___ ___ Python-bugs-list

[issue20197] Support WebP image format detection in imghdr module

2014-01-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. Detecting function matches the WebP specification [1]. [1] https://developers.google.com/speed/webp/docs/riff_container#webp-file-header -- stage: - commit review ___ Python tracker rep...@bugs.python.org

<    1   2   3   4   5   6   7   8   9   10   >