Popular recipes tagged "image_processing" but not "pil"http://code.activestate.com/recipes/tags/image_processing-pil/2015-01-03T03:39:34-08:00ActiveState Code Recipes2D Discrete Fourier Transform (Python) 2015-01-03T03:39:34-08:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/578997-2d-discrete-fourier-transform/ <p style="color: grey"> Python recipe 578997 by <a href="/recipes/users/4172570/">FB36</a> (<a href="/recipes/tags/image/">image</a>, <a href="/recipes/tags/images/">images</a>, <a href="/recipes/tags/image_processing/">image_processing</a>, <a href="/recipes/tags/math/">math</a>, <a href="/recipes/tags/mathematics/">mathematics</a>, <a href="/recipes/tags/signal_processing/">signal_processing</a>). </p> <p>2D Discrete Fourier Transform (DFT) and its inverse.</p> <p>Calculates 2D DFT of an image and recreates the image using inverse 2D DFT.</p> <p>Computation is slow so only suitable for thumbnail size images.</p> Gimp Paperwhite Scriptfu (Python) 2014-03-25T10:17:07-07:00Alfehttp://code.activestate.com/recipes/users/4182236/http://code.activestate.com/recipes/578857-gimp-paperwhite-scriptfu/ <p style="color: grey"> Python recipe 578857 by <a href="/recipes/users/4182236/">Alfe</a> (<a href="/recipes/tags/gimp/">gimp</a>, <a href="/recipes/tags/image_processing/">image_processing</a>, <a href="/recipes/tags/paperwhite/">paperwhite</a>, <a href="/recipes/tags/plugin/">plugin</a>, <a href="/recipes/tags/script/">script</a>, <a href="/recipes/tags/scriptfu/">scriptfu</a>). </p> <p>This Gimp-plugin (written in Python) changes a photograph of a paper document so that the paper background appears white again without overly lighting the text.</p> Using pngcanvas, a pure Python PNG library (Python) 2014-01-15T22:45:11-08:00Vasudev Ramhttp://code.activestate.com/recipes/users/4173351/http://code.activestate.com/recipes/578811-using-pngcanvas-a-pure-python-png-library/ <p style="color: grey"> Python recipe 578811 by <a href="/recipes/users/4173351/">Vasudev Ram</a> (<a href="/recipes/tags/image_processing/">image_processing</a>, <a href="/recipes/tags/imaging/">imaging</a>, <a href="/recipes/tags/png/">png</a>, <a href="/recipes/tags/pngcanvas/">pngcanvas</a>, <a href="/recipes/tags/python/">python</a>). </p> <p>This recipe shows a simple example of how to use pngcanvas, a pure Python library for PNG image creation.</p> Mass image resizing (with progress bar and details in console) (Python) 2010-04-13T07:06:09-07:00Rahul Anandhttp://code.activestate.com/recipes/users/4173646/http://code.activestate.com/recipes/577189-mass-image-resizing-with-progress-bar-and-details-/ <p style="color: grey"> Python recipe 577189 by <a href="/recipes/users/4173646/">Rahul Anand</a> (<a href="/recipes/tags/images/">images</a>, <a href="/recipes/tags/image_processing/">image_processing</a>, <a href="/recipes/tags/python/">python</a>). Revision 2. </p> <p>This script uses the Python Imaging libraries to resize images in a folder and its sub-folders iteratively. The details like the directory hierarchy, current progress etc are displayed dynamically. We can optionally specify more image formats, required size etc.(See command-line argument --help). This is meant for processing large collections of images, which justifies the display of many details.</p>