Top "Imaging" questions

Anything related to digital imaging, i.e. the theory, the technology and the techniques about acquiring, representing, processing and rendering digital images.

Scaling a System.Drawing.Bitmap to a given size while maintaining aspect ratio

I want to scale a System.Drawing.Bitmap to at least less than some fixed width and height. This is …

c# graphics imaging
How does Google's Page Speed lossless image compression work?

When you run Google's PageSpeed plugin for Firebug/Firefox on a website it will suggest cases where an image can …

compression imaging pagespeed google-pagespeed
Image Processing: What are occlusions?

I'm developing an image processing project and I come across the word occlusion in many scientific papers, what do occlusions …

image-processing computer-vision object-detection imaging
ImportError: cannot import name _imaging

I installed Pillow, and after I want to do: from PIL import Image I get the following error: Traceback (most …

python pip python-imaging-library imaging
Python Imaging Library - Text rendering

I'm trying to render some text using PIL, but the result that comes out is, frankly, crap. For example, here's …

python python-imaging-library imaging
What is the definition of a "disparity map"?

I've been asked to implement an edge-based disparity map, but I fundamentally don't understand what a disparity map is. What …

image-processing computer-vision imaging stereo-3d disparity-mapping
How to calculate the average rgb color values of a bitmap

In my C# (3.5) application I need to get the average color values for the red, green and blue channels of …

c# colors rgb imaging channel
How to CREATE a transparent gif (or png) with PIL (python-imaging)

Trying to create a transparent gif with PIL. So far I have this: from PIL import Image img = Image.new(…

python python-imaging-library transparency gif imaging
Python PIL - Draw Circle

I am trying to draw a simple circle and save this to a file using the Python Imaging Library: import …

python python-imaging-library imaging
How do I draw text at an angle using python's PIL?

Using Python I want to be able to draw text at different angles using PIL. For example, imagine you were …

python python-imaging-library imaging