Re: [Image-SIG] Converting to zebra (ZPL) format

2005-06-17 Thread Joao S. O. Bueno Calligaris
Hi Peter, despite Fredik's lengthy and carefull answer, I think that is not what you were asking for - his program is suitable to print images inpout inline inside a Python program as sequences of 0 and 1's. But I think you were asking for a way to print a generic image read from a disk file.

Re: [Image-SIG] Converting CMYK JPG image to RGB

2005-06-17 Thread kevin
I know the problem you mention, but I also thought that a recent version of PIL fixed it... I could be wrong though. However - the other option would be to use ICC profiles to do color conversion. If you want REALLY accurate conversion, this is the way to go. I wrote a wrapper module called py

[Image-SIG] Converting CMYK JPG image to RGB

2005-06-17 Thread marc birot
Hello, I'm trying to convert CMYK Jpg files to RGB Jpg files using (Image.open("cmyk_image.jpg").convert("RGB"))... The result shows very wrong colours. After checking the Image-SIG archives (Aug 2004) i found the following : "...Older versions of Photoshop generated broken CMYK files, and P

Re: [Image-SIG] Extended Mail

2005-06-17 Thread Microsoft LISTSERV Server (14.3)
> Encrypted message is available. Unknown command - "ENCRYPTED". Try HELP. Summary of resource utilization --- CPU time:0.000 secDevice I/O:4 Overhead CPU:0.000 secPaging I/O:0 CPU model: 933MHz Pent

Re: [Image-SIG] Converting to zebra (ZPL) format

2005-06-17 Thread Fredrik Lundh
Peter Dempsey wrote: > Hi folks, I'm a newbie to python so please be gentle. > > I want to convert an image to a format suitable for use in a Zebra label > printer. The data sent to the printer consists of a string of hex characters. > Each byte converts to a binary set of dots on the label. > > F