Some time ago, I showed how to progressively display an image while it was being downloaded using ImageIO.framework. Today I created a simple subclass of UIImageView in NYXImagesKit to take advantage of this feature.
Continue reading
Category Archives: UIKit
Understanding misaligned images in Instruments
I attended the Berlin Tech Talk conference on november 2. The last talk was given by Michael Jurewitz and was titled Your iOS App Performance Hitlist. This talk was excellent, the best in my opinion (But that’s because I love talking about performances), and it was focused on using Instruments.
Continue reading
[iOS 5] Bug fix for CGImageSourceCreateIncremental
In a previous post I showed how to create a progressive image download using ImageIO.framework available since iOS 4. In that post I said that there was a problem concerning the progressive display of non-PNG images because they were malformed. Fortunately the fix was easy and consisted to simply render the partial image in a bitmap context and get it back, but well, it consumes CPU for nothin’.
Continue reading
Efficiently build a gallery like Photos.app
Quite often people wants to build a gallery like Photos.app for their iOS application. The exercise is really not difficult, but it’s also easy to kill your device memory if you don’t take the time to think of an elegant way to do it.
Continue reading
New category for NYXImagesUtilities : Blurring
Another new category for NYXImagesUtilities, this one allows to blur an UIImage.
It was originally written by the well-known Jeff Lamarche (@jeff_lamarche), I asked him if I could use his code and he agreed, so all the merit goes to him.
Continue reading
New category for NYXImagesUtilities : Reflection
Matthias Tretter (@myell0w) wrote a new category for NYXImagesUtilities, based on the code of Peter Steinberger (@steipete) to create a reflection of an UIImage.
Continue reading
Progressive image download with ImageIO
Ever get tired of the spinners or progress indicators to display the loading of an image ? Well, this post is for you, I will show how to display progressively an image while it’s downloading, like we can see in our web browsers.
New category for NYXImagesUtilities : Saving
I’ve added a new category for NYXImagesUtilities, it allows to save an UIImage object to a file path or URL. Several formats are supported :
- BMP
- GIF
- JPEG
- PNG
- TIFF
[iOS] Introducing NYXImagesUtilities
I began writing a set of categories for iOS’s UIImage class, because I often need to manipulate images and iOS is missing CoreImage so much.
So I created a project regrouping all these handy categories, and today I’ll share them with you.
Continue reading
UIImage scaling using ImageIO
In this post I’ll explain what is the best way to create scaled images for iOS and Mac OS applications. By best way, I mean the most efficient one, because it’s a common operation to manipulate images, and so it should not penalize your application too much.
Continue reading