iPhone: Blur UIImage
In my iPhone application I have a black-and-white UIImage . I need to blur that image (Gaussian blur would do). iPhone clearly knows how to blur images, as it does that when it draws shadows . However I did not found anything related in the API. Do I have to do blurring by hand, without hardware acceleration? dom Try this (found here ): @interface UIImage (ImageBlur) - (UIImage *)imageWithGaussianBlur; @end @implementation UIImage (ImageBlur) - (UIImage *)imageWithGaussianBlur { float weight[5] = {0.2270270270, 0.1945945946, 0.1216216216, 0.0540540541, 0.0162162162}; // Blur horizontally