I've inherited an application that must read and process about 4000 multi-page tiff images. I'm not an image expert, and I'd love to utilize UIImage to view these, but it would appear that UIImage is ignoring any additional subviews in the tiff file. It will correctly report and display the first image.
I was originally optimistic that I could utilize the images property, but since these are not animated images, this property returns nil. I'm able to verify that my images have multiple pages (subviews) utliizing SwiftView.
if let img = UIImage(named: "multipageTiff")
{
if let images = img.images as? [UIImage]
{
println("images \(images.count)")
}
else
{
println("images is nil")
}
image = img
The above code works great at assigning the original image to an UIImageView (image), however the println returns "nil", so I'm stuck. Any suggestions would be greatly appreciated.
Thanks!