Problem This is a follow-up question of this other one, where I was trying to use the Decorator Pattern in […]
Tag: image
Caching Color-Bitmaps as MemoryStreams
Problem I am in the need to cache Bitmap‘s in a memory-optimized way because the API I am building will […]
Thumbnails for bootstrap carousel jQuery plugin
Problem Codepen: http://codepen.io/srkimir/pen/mGbrf Github: https://github.com/srkimir/thumbnails-carousel While you slide left or right appropriately, thumbnails gets selected and change their opacity to […]
Creating and manipulating a variant number of bufferedImages for vision algorithm
Problem I’m developing an algorithm that takes structured light patterns to determine 3D properties of objects. This class builds the […]
Crop multiple images from single image
Problem This code works alright, but it’s very difficult to get the dimensions right and takes a bunch of trial […]
Download image links posted to reddit.com
Problem This is a Python script to save imgur pictures posted to reddit.com forums. I’m looking for an assessment on […]
Nearest Neighbor Classifier for CIFAR-10 in Haskell
Problem To get myself into functional programming, I implemented a simple nearest neighbor classifier using Haskell. The code works but […]
Converting colours in an image using Python Imaging Library
Problem I have written the beginning of a map engine which runs off PIL and some JavaScript client side. Ignoring […]
Serve rescaled jpg images on demand with myphoto!500.jpg syntax (here 500px-width rescaled)
Problem On web pages, obviously we cannot serve large photos (e.g. 4000x4000px) and just let CSS do the resizing: it […]
Python function to implement an image-processing pipeline
Problem I have written the following function to process images. Now I am not sure if it’s pythonic or considered […]