Skip to content Skip to sidebar Skip to footer
Showing posts with the label Python Imaging Library

Opencv Image Manipulation To Crop An Angled Section Of An Image In Python

I am trying to crop a portion of an image as shown below using opencv / PIL . I want to crop the re… Read more Opencv Image Manipulation To Crop An Angled Section Of An Image In Python

Can't Get Pil To Correctly Install On Ubuntu 12.04

I'm using Ubuntu 12.04 and I'm in PIL-hell. I've tried every suggestion I can find onl… Read more Can't Get Pil To Correctly Install On Ubuntu 12.04

Segmentation Fault After Qlabel.setpixmap With Pyqt5

I'm trying to show a PIL image using QPixmap and QLabel. But when I run the code, I get SIGSEGV… Read more Segmentation Fault After Qlabel.setpixmap With Pyqt5

How To Convert Array To Image Colour Channel In Python?

I need to split colour channel of the image (specifically 'Cb') in 8x8 blocks in order to m… Read more How To Convert Array To Image Colour Channel In Python?

Converting Png To Pdf With Pil Save Mode Error

Im trying to convert png files into pdf's. PIL seems to be the way to do it but Im getting an e… Read more Converting Png To Pdf With Pil Save Mode Error

Concatenate Multiple Pieces Of An Image To A Single Image Using Python

I have 15 images (from 1 to 15). I would like to stitch these images together so that it forms one … Read more Concatenate Multiple Pieces Of An Image To A Single Image Using Python

Python Pil Remove Sections Of An Image Based On Its Colour

I am trying to use PIL in python to remove parts of images based on the pixels RGB values. From the… Read more Python Pil Remove Sections Of An Image Based On Its Colour

Pil - How To Insert An Index, Or Subscript, Into Text?

Like this: Calculating coordinates looks not so good, maybe there is a better way? This code works… Read more Pil - How To Insert An Index, Or Subscript, Into Text?