Placing Transparent image over image

2011-02-06 Thread uahmed
Hi , I have 2 images and one on button and another one as a label i want that when label image comes on button so it show the transparent part of image , i have made this code but in this the transparent part is hide . Here is my code import fcntl, sys import sys import Skype4Py import

image

2005-11-08 Thread Shi Mu
text.image_create(END, image=photo) File "C:\Python23\lib\lib-tk\Tkinter.py", line 2882, in image_create return self.tk.call( TclError: image "pyimage4" doesn't exist from Tkinter import * root = Tk() root.option_readfile('optionDB') root.title('Text

Processing an image with numarray.nd image

2005-10-04 Thread Raphaël MARC
Hello, Can anyone tell me how to open an image and transform it into a list so that the functions of the multi dimensionnal module of numarray (numarray.nd image) can process it ? Do I have to use PIL ? So I would code something like : import Image im = Image.open("Python.jpg") d

Re: Processing an image with numarray.nd image

2005-10-04 Thread Matt Feinstein
On Tue, 04 Oct 2005 11:56:51 +0200, Raphaël MARC <[EMAIL PROTECTED]> wrote: >Hello, > >Can anyone tell me how to open an image >and transform it into a list so that >the functions of the multi dimensionnal module of >numarray (numarray.nd image) can process it ? > >

Image merging

2009-07-30 Thread James Matthews
Hi, I need to create an app that takes to images and mergers them. After googling around I have found 4 graphic library's that I can use. However since I am new to "image programming" can you please tell me which one you think would be the best. The ones I found were ca

Image histogram

2010-08-09 Thread Anahita Yazdi
Hi, I was just wondering how would I be able to get some extra help regarding editing an image's histogram using python's module? I have modified a histogram of an image however I dont know how to apply the new histogram to the image and basically reload the image based on its ne

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

Image creation

2006-11-02 Thread Odalrick
way to give alpha values with wxPython's image objects and premature optimization etcetera... Well, now the program works, but is a bit sluggish so I'm asking if anyone can give me some pointers to speeding this up. /Odalrick -- http://mail.python.org/mailman/listinfo/python-list

image processing

2007-03-06 Thread edurand
Hi, We are are pleased to announce the version 3.0 of the image processing library 'Filters'. You can use it in Python, and we have provided tutorials and samples in Python, with for exemple conversion from/to PIL image format. Have a look at : http://filters.sourceforge.net/ it

Re: image

2005-11-08 Thread Fredrik Lundh
ython23\Examples\AppB\text.py", line 24, in ? >text.image_create(END, image=photo) > File "C:\Python23\lib\lib-tk\Tkinter.py", line 2882, in image_create >return self.tk.call( > TclError: image "pyimage4" doesn't exist works for me, when running i

Re: image

2005-11-08 Thread Shi Mu
ython23\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_create(END, image=photo) > > File &quo

Re: image

2005-11-08 Thread Fredrik Lundh
> > File "C:\Python23\lib\lib-tk\Tkinter.py", line 2882, in image_create > >return self.tk.call( > > TclError: image "pyimage4" doesn't exist > > works for me, when running it from a stock CPython interpreter. > > have you tried runn

Re: image

2005-11-08 Thread Steve Holden
es\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_create(END, image=photo) >>> File "C:\Python23\lib

Image capture

2005-01-05 Thread Catalin Lungu
Hi, Can anybody help me to implement the following VB code in Python. Thanks in advance. Private Declare Function SendMessage Lib "user32.dll" Alias _ "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, _ ByVal wParam As Long, ByVal lParam As Long) As Long Private Const WM_PAINT = &HF

Image Module

2005-04-12 Thread Nicholas S. Graham
I want to convert a field of 4:2:2 digital video data into a viewable format (.jpg or something) using the Image module. Any suggestions?? NG -- http://mail.python.org/mailman/listinfo/python-list

fetch image

2009-01-05 Thread asit
: " + r.reason server = Server("www.python.org") fp=open("phpvuln.txt") x=fp.readlines(); for y in x: server.fetch("/" + y); The above code fetches only the html source of the webpage. How to get the image, flash animation and other stuffs -- http://mail.python.org/mailman/listinfo/python-list

image recogniton?

2009-01-06 Thread Li Han
Hi! I know little about the computer image processing, and now I have a fancy problem which is how to read the time from the picture of a clock by programming ? Is there anyone who can give me some suggestions? Thank! Li Han -- http://mail.python.org/mailman/listinfo/python-list

Image Libraries

2008-03-08 Thread PB
any other decent image libraries for python? -- http://mail.python.org/mailman/listinfo/python-list

Drag image

2007-09-18 Thread ndoe
i want show image from button? and the image can be drag and rezise ? any body help me!!! i try to make it but is not sucsseful yet -- http://mail.python.org/mailman/listinfo/python-list

image python

2007-10-01 Thread [EMAIL PROTECTED]
hi I want understanding pictures colorfull for examle colorfull or black-white image.google.com there are understand it .Can I understand it thanks -- http://mail.python.org/mailman/listinfo/python-list

Image treshold

2007-11-10 Thread Johny
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 th

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

image in db to string to actual image

2018-08-02 Thread Abdur-Rahmaan Janhangeer
storing images in db is easy but to retrieve them natively how to? (ignore db type, using orm). meaning without PIL / Pillow. type : png like i'd like to have it as string, any idea ? Abdur-Rahmaan Janhangeer https://github.com/Abdur-rahmaanJ Mauritius -- https://mail.python.org/mailman/listinfo

Pil Raw Image Viewer-- How to get image mode

2007-04-05 Thread Andrew
Hello Ive been messing around with a simple raw image viewer using Pil and Tkinter However I am running into problems displaying the images they appear to be not correct I believe it is cause of the modes for the different files but I am unsure If someone could examine my code and assist in

wx.Image: Couldn't add an image to the image list.

2005-01-26 Thread Laszlo Zsolt Nagy
I would like to load image from a directory right into an image list. I wrote a simple library that loads the images in the directory and resizes them as needed before adding to the wx.ImageList. This is not the same code but some snippets. I resize the image this way (using Python Imaging Library

Re: image in db to string to actual image

2018-08-02 Thread Abdur-Rahmaan Janhangeer
ah those can be used, thanks, and to write the actual image? On Thu, Aug 2, 2018 at 8:20 PM Gilmeh Serda wrote: > On Thu, 02 Aug 2018 17:24:29 +0400, Abdur-Rahmaan Janhangeer wrote: > > > like i'd like to have it as string, any idea ? > > UUEncode / Base64 / yE

Re: image in db to string to actual image

2018-08-03 Thread Abdur-Rahmaan Janhangeer
can be used, thanks, and to write the actual image? > > pseudo code: > > store_to_whatever(path2bin): > my_storage.store(uuencode(path2bin)) > > get_image_from_storage(path2uue): > return uudecode(my_storage.read(path2uue)) > > RTM on uue and its siblings. > > Nb

Re: image in db to string to actual image

2018-08-03 Thread Stephane Wirtel
And what is your database? Maybe there is an API for the blob field On 08/02, Abdur-Rahmaan Janhangeer wrote: storing images in db is easy but to retrieve them natively how to? (ignore db type, using orm). meaning without PIL / Pillow. type : png like i'd like to have it as string, any idea ?

Re: Image histogram

2010-08-09 Thread Gary Herron
On 08/09/2010 04:27 PM, Anahita Yazdi wrote: Hi, I was just wondering how would I be able to get some extra help regarding editing an image's histogram using python's module? I have modified a histogram of an image however I dont know how to apply the new histogram to the image and

Re: Image histogram

2010-08-09 Thread Paul Rubin
Gary Herron writes: > This is a Python newsgroup, not an image processing news group. > If you are asking for an algorithm to modify an image I saw it as a question of how to do something using PIL. Seems ok to me. -- http://mail.python.org/mailman/listinfo/python-list

Re: Image histogram

2010-08-09 Thread Gary Herron
On 08/09/2010 05:02 PM, Paul Rubin wrote: Gary Herron writes: This is a Python newsgroup, not an image processing news group. If you are asking for an algorithm to modify an image I saw it as a question of how to do something using PIL. Seems ok to me. A quote from the OP

Re: Image histogram

2010-08-10 Thread Anahita Yazdi
Yes, my question is regarding PIL. And basically I need to reload an image given a new histogram. The new histogram has still the same amount of overall pixels however I have only switched a couple of picks. Another thing I have tried was using a function that could be given to the "point&qu

PIL Image transform

2006-08-08 Thread Dean Card
Okay, so here is the situation. I have need to do some on-the-fly image creation. I have everything working great except for the last part of it, applying a perspective type transform to the image. The transform will take a rectangular 2D image and transform it to a 3D representation in 2D

Easy image rendering?

2006-08-09 Thread [EMAIL PROTECTED]
Can someone tell me what's the absolute easiest way of putting an image on to the screen in Python without just opening it up in an application? What's the simplest way to just put something up on the screen? -- 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:

url to image

2007-06-07 Thread sononix
just wondering are there any snippets out there where you can convert a url to an image using python I have be trying to use webbrowser.open("www.mypage.com") with printscreen but I have no means of finding out when the page url is fully loaded any tips tks M -- http://mail.

PIL - "despeckle" image ?

2006-11-16 Thread shearichard
Hi - I have some images which I would like to remove specks from using the PIL. I would like to be able to say that if a pixel is in a blob of less than n contiguous pixels then all pixels in that blob should be removed. The images are 8 bit images with only 0 and 255 values. I can think of quite

image lib & Qt4

2006-06-01 Thread aljosa
i'm looking for image lib which supports common image types (maybe freeimagepy?) and is relatively easy to display image loaded through that lib in PyQt4. any ideas? Aljosa -- http://mail.python.org/mailman/listinfo/python-list

Re: image processing

2007-03-06 Thread Paul Rubin
"edurand" <[EMAIL PROTECTED]> writes: > You can use it in Python, and we have provided tutorials and samples > in Python, with for exemple conversion from/to PIL image format. > Have a look at : http://filters.sourceforge.net/ Looks interesting, however the example scre

Re: image processing

2007-03-06 Thread edurand
On Mar 6, 9:57 am, Paul Rubin <http://[EMAIL PROTECTED]> wrote: > "edurand" <[EMAIL PROTECTED]> writes: > > You can use it in Python, and we have provided tutorials and samples > > in Python, with for exemple conversion from/to PIL image format. > > Hav

Re: image processing

2007-03-06 Thread Gabriel Genellina
En Tue, 06 Mar 2007 10:16:21 -0300, edurand <[EMAIL PROTECTED]> escribió: > On Mar 6, 9:57 am, Paul Rubin wrote: >> "edurand" <[EMAIL PROTECTED]> writes: >> > Have a look at :http://filters.sourceforge.net/ > It's a DLL, so yes, it run on Windows. > If someone would

Re: image processing

2007-03-07 Thread Claudio Grondi
edurand wrote: > Hi, > > We are are pleased to announce the version 3.0 of the image processing > library 'Filters'. > You can use it in Python, and we have provided tutorials and samples > in Python, with for exemple conversion from/to PIL image format

Re: image processing

2007-03-07 Thread edurand
On Mar 7, 5:54 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Tue, 06 Mar 2007 10:16:21 -0300, edurand <[EMAIL PROTECTED]> > escribió: > > > On Mar 6, 9:57 am, Paul Rubin wrote: > >> "edurand" <[EMAIL PROTECTED]> writes: > >> > Have a look at :http://filters.sour

Creating Image Maps

2004-12-23 Thread Aaron
I know this is a thing used primarily on websites..but since python can do anything ;) I'm trying to make a clickable image map for my wxPython program. Basically, I know how to organize the images into one large image in a panel, but how do I make the individual pieces clickable like we

Re: Image capture

2005-01-05 Thread Kartic
Catalin, Some explanation about what you are tring to do will be of immense help. Did you want to capture some other Windows object from Python or do you want to capture a Python GUI application from Python? I might be able to help out, but please send more details. Thank you, --Kartic -- http

Re: Image capture

2005-01-05 Thread Catalin Lungu
Hi, I want to capture a no visible area of a wxFrame of Python. This area contain a wxGrid object. In VB6 this code work very good. Thanks. "Kartic" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Catalin, > > Some explanation about what you are tring to do will be of imm

Re: Image capture

2005-01-05 Thread Kartic
Hi Catalin, Here are the modifications to your code. I am emailing you the complete file back to your email address. Please note that you need PIL (Python Imaging Library) to grab the window. I included a step to save the image, but you can do whatever you want with it. Thanks, --Kartic

Python Image Library

2005-12-16 Thread S. D. Rose
I have a question about PIL. I get a 50k photo from a MySQL table, convert it to grey-scale, do some rotations, etc. Then I want to put it back. It seems that after I do the greyscale, it converts from 'JPEG' to 'RAW'. Can anyone tell me how I convert the image back to &#

To paletted image

2006-02-10 Thread bearophileHUGS
Hello, this time I have a question about PIL usage, maybe if Lundh has some time he can answer me. I am experimenting different color quantization algorithms, so having computed the palette with a clustering function, I use the code below to quantize the original image to produce an image without

Re: Image Module

2005-04-13 Thread Terry Hancock
On Tuesday 12 April 2005 06:01 pm, Nicholas S. Graham wrote: > I want to convert a field of 4:2:2 digital video data into a viewable > format (.jpg or something) using the Image module. Any suggestions?? I'll assume that by "Image" module, you mean Python Imaging Library.

Pickle an image?

2005-04-25 Thread GMane Python
Hey all. I have a ( list | tuple | dictionary ) with several graphics in it. Trying to cPickle it to a file, I get errors. For instance, UnpickleableError: Cannon pickle objects. Anyone know of a way to get around this? I'd like to pickle a list or dictionary of about 5 .JPG images. Thanks

image fourier transform

2005-02-14 Thread Johannes Ahl-mann
brary/module to do 2D image FFT in a simple manner. or am i just too dumb to see how this is supposed to work with the 1D fourier transforms?? thx, Johannes -- http://mail.python.org/mailman/listinfo/python-list

Tiled Image viewer

2005-02-21 Thread Ian McConnell
Does anyone know of a widget or sample code for viewing huge (ie bigger than RAM) images in python? The usual way of doing this is to read part of the image into memory as a set of tiles and then zoom and pan the tiles. The sort of thing I'm trying to achive is at

image letter recognition

2006-03-10 Thread gau . tai
Is there an existing package for python that will perform simple letter recognition from image files? I'm specifically looking for a way to read from a png file, but that can be changed. -- http://mail.python.org/mailman/listinfo/python-list

About Image Size

2006-03-24 Thread ChengGong
Finally I found that getSize()can be used to show the size of the image. but here I got another problem. these code is used to show the last uploaded picture's size. But when I run the method it says Error Type: AttributeError Error Value: 'str' object has no attribute &

image reduction script

2006-03-24 Thread Philippe Martin
Hi, I need to write a script to reduce the resolution/color depth of an image (ex: .jpg) based on a target size. The point is for the target picture to still be "understandable" - yet I target getting down to 5K. Are there libraries out there that could help me start ? Thanks

DELETE an image

2006-03-27 Thread ChengGong
hi guys, could u tell me how to delete images ( files) from a folder by using tags in zope? Because I upload images there and test whether it is meet size requirment and then upload it to the folder it supposed to be. Pls help me, thanks. Cheng -- http://mail.python.org/mailman/listinfo/pytho

Image open problem

2006-04-19 Thread Aleksandar Cikota
Hi all, I have a problem with openning of an image. Here is the Code: from Tkinter import * from PIL import Image, ImageTk from win32com.client import gencache import tkMessageBox import win32com.client import math import time import os import threading import pythoncom chsr

document/image viewer

2008-11-16 Thread belred
does anyone know of any document/image viewers? i would like to create an app that can display (read-only) many types of documents such as .doc, .xls, .tiff, .pdf, etc. it would be great if i can do this using python. looks like i might be able to create something with PIL, but i'm comi

Re: fetch image

2009-01-05 Thread Diez B. Roggisch
= http.getresponse() > print str(r.status) + " : " + r.reason > > server = Server("www.python.org") > fp=open("phpvuln.txt") > x=fp.readlines(); > for y in x: > server.fetch("/" + y); > > The above code fetches only th

Re: image recogniton?

2009-01-06 Thread Furkan Kuru
start with Python Image Library: http://www.pythonware.com/products/pil/ On Tue, Jan 6, 2009 at 4:28 PM, Li Han wrote: > Hi! I know little about the computer image processing, and now I have > a fancy problem which is how to read the time from the picture of a > clock by programming ?

Re: image recogniton?

2009-01-06 Thread Tino Wildenhain
Hi, Furkan Kuru wrote: start with Python Image Library: http://www.pythonware.com/products/pil/ I think this is more a job for OpenCV and its python bindings. http://opencv.willowgarage.com/wiki/PythonInterface On Tue, Jan 6, 2009 at 4:28 PM, Li Han <mailto:lihang9...@gmail.com>&

Re: image recogniton?

2009-01-06 Thread Hendrik van Rooyen
"Li Han" wrote: > Hi! I know little about the computer image processing, and now I have > a fancy problem which is how to read the time from the picture of a > clock by programming ? Is there anyone who can give me some > suggestions? When the big hand is on the twelve,

Re: image recogniton?

2009-01-06 Thread Dotan Cohen
2009/1/6 Hendrik van Rooyen : > "Li Han" wrote: > >> Hi! I know little about the computer image processing, and now I have >> a fancy problem which is how to read the time from the picture of a >> clock by programming ? Is there anyone who can give me some >&g

Re: image recogniton?

2009-01-06 Thread skip
Furkan> start with Python Image Library: Furkan> http://www.pythonware.com/products/pil/ Well, there's the little problem of optical character recognition. You might want to check out open source OCR tools like gocr: http://jocr.sourceforge.net/ Just use PIL to co

Re: image recogniton?

2009-01-06 Thread Dotan Cohen
This was just mentioned on the KDE bugtracker: http://opencv.willowgarage.com/wiki/FaceDetection -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л

Re: image recogniton?

2009-01-06 Thread J Kenneth King
Li Han writes: > Hi! I know little about the computer image processing, and now I have > a fancy problem which is how to read the time from the picture of a > clock by programming ? Is there anyone who can give me some > suggestions? > Thank! > Li Han I do work in objec

Re: image recogniton?

2009-01-07 Thread Li Han
On 1月7日, 上午4时14分, J Kenneth King wrote: > I'm curious as to what application the solution to this problem is > practical for all of its difficulty? Sorry, I oversimplified the question because of my poor english. It is an analog compass whose value we need to read into the computer every second.

Re: image recogniton?

2009-01-07 Thread Almar Klein
2009/1/7 Li Han > On 1月7日, 上午4时14分, J Kenneth King wrote: > > I'm curious as to what application the solution to this problem is > > practical for all of its difficulty? > Sorry, I oversimplified the question because of my poor english. It is > an analog compass whose value we need to read into

Re: image recogniton?

2009-01-07 Thread Joe Strout
Li Han wrote: Sorry, I oversimplified the question because of my poor english. It is an analog compass whose value we need to read into the computer every second. We use a video camera keep shooting it, and the compass and camera are fixed. If you have any choice about it, it would be greatl

Re: Image Libraries

2008-03-08 Thread Ken
written in python rather than C. > > 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 most

Re: Image Libraries

2008-03-08 Thread PB
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

image matching algorithms

2008-03-09 Thread Daniel Fetchinson
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 fo

Image to browser

2008-01-15 Thread danielatdaveschool
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, 12

Image Processing (batch)

2008-06-03 Thread Thomas Guettler
Hi, I tried PIL for image batch processing. But somehow I don't like it - Font-Selection: You need to give the name of the font file. - Drawing on an image needs a different object that pasting and saving. - The handbook is from Dec. 2006. What image libraries do you suggest? I think

compatible image type

2008-07-04 Thread gordon
Image(file=pathname) and display it on a canvas. the extn can be anything ..even zip or bat ,doc whatever depending on user selection...I want to put someway to raise an error message to the user if he selects a file with extension not of a compatible image type for PhotoImage.How should i do this

Re: Drag image

2007-09-19 Thread kyosohma
On Sep 19, 1:06 am, ndoe <[EMAIL PROTECTED]> wrote: > i want show image from button? and the image can be drag and rezise ? > any body help me!!! i try to make it but is not sucsseful yet Please post some code so we can see what you're up to. Mike -- http://mail.python.org

Video from image

2007-09-22 Thread azrael
I'd like to ask you if you know a module that makes it possible to create a number of images and than to use them as frames and finaly export them to a video file -- http://mail.python.org/mailman/listinfo/python-list

Re: image python

2007-10-01 Thread Florian Schmidt
On Mon, Oct 01, 2007 at 11:21:09AM -0700, [EMAIL PROTECTED] wrote: > hi > I want understanding pictures colorfull > for examle colorfull or black-white > image.google.com there are understand it. i'm not sure if i understand your question. assuming you want to decide if

image resize question

2007-10-18 Thread Tim Arnold
Hi, I'm using the Image module to resize PNG images from 300 to 100dpi for use in HTML pages, but I'm losing some vertical and horizontal lines in the images (usually images of x-y plots). Here's what I do: import Image def imgResize(self,filename): img = Imag

Re: Image treshold

2007-11-10 Thread Scott David Daniels
Johny wrote: > 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 > "p

Simple Image Cropper

2008-07-14 Thread Mr SZ
Hi, I am designing a simple image cropper which simply takes an image and use PIL to do the cropping.Now in order to do the cropping I simply draw a rectangle on the image by dragging the mouse over the image.I then use button press and button release events to find the mouse postition and

Image loading problem

2016-05-21 Thread sweating_...@yahoo.com
Hi All, I am working on an image project, and I can display my image in main(). I mean, I can load my image in my main(). Needless, it is awkward. I am trying to load my image with a function, but got an empty image window popped up, no image content loaded. Please take a look at code: rom

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 compre

Error see image

2015-10-14 Thread laverdure02
hello I have this error while trying to re-install the program and it’s still show can you please help me ? Thanks!-- https://mail.python.org/mailman/listinfo/python-list

DJANGO image processing

2017-02-11 Thread Xristos Xristoou
I want to create a django app with the base64 help where the users can upload images(specific ".tiff" ext) using DJANGO forms without model and without that images store in my server. and i will the users can be get back new processing image. i have success with encode/decode image w

Re: Image manipulation

2013-10-04 Thread Gary Herron
creen? image on disk? image on web page? printed image on paper? ...?) On what operating system? Using what kind of a graphics/imaging hardware/software? How are said pixels being written? Please understand how broad the term pixel is and how little information your question has pro

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, 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 that cas

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 comp

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

Resize RGB image?

2012-11-24 Thread Alasdair McAndrew
I can resize a 2d image "im" with a command something like: r,c = shape(im) im2 = resize(im,(r//2,c//2)) However, resize doesn't seem to work with an RGB image: r,c,n = shape(im) # returns, say 500 600 3 I then need to take each band separately, resize it, and put them all

colorbar of image

2012-05-31 Thread Mireille . Hagbe . Ngom
that is my script from matplotlib import pyplot img = pyplot.imread('image.png') pyplot.imshow(img) pyplot.show() the problem is i want to display either colorbar associated to the image and image or just colorbar associated to the image when i download image.png.how can i

colorbar of image

2012-05-31 Thread mhagbeng
that is my script from matplotlib import pyplot img = pyplot.imread('image.png') pyplot.imshow(img) pyplot.show() the problem is i want to display either colorbar associated to the image and image or just colorbar associated to the image when i download image.png.how can i

ImSim: Image Similarity

2011-03-04 Thread n00m
Let me present my newborn project (in Python) ImSim: http://sourceforge.net/projects/imsim/ Its README.txt: - ImSim is a python script for finding the most similar pic(s) to a given one among a set/list/db of your pics. The scrip

Shear image (numpy.ndarray)

2013-04-27 Thread Radek Machulka
ed to scale, translate, rotate, and shear the original image.', however I was not able to get it work. So could anybody give me a hand how to use it (or how to shear the image in different way)? The input array is 2D (NxM) type numpy.float32. Thanks Radek -- http://mail.python.org/mailman/listi

Re: wx.Image: Couldn't add an image to the image list.

2005-01-26 Thread Kartic
= cStringIO.StringIO(data) img = wx.ImageFromStream( stream ) img.Rescale(32, 32) # Resize your image to 32x32 bmp = wx.BitmapFromImage( img ) # Convert Image to Bitmap # Now display Bitmap in Panel wx.StaticBitmap(self, -1, bmp, (bmp.GetWidth(), bmp.GetHeight())) Try this and see if this works

pygui - showing an image

2009-09-22 Thread kyle schalm
hello, i wonder what the chances are that anyone here uses pygui? it looks pretty good, but i just started using it (version 2.05) and can't figure out how to just display a window with an image in it. i tried: image = Image('foo.png') window.place(image) -- error message w

  1   2   3   4   5   6   7   8   9   10   >