Skip to content

Objective-C class for viewing multipage tiff files on iOS devices

License

Notifications You must be signed in to change notification settings

codenameDuchess/NSTiffSplitter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NSTiffSplitter
by Anton Sharrp Furin - http://sharrp.blogspot.com


How to use it
==========================

NSTiffSplitter is an Objective-C class which allow you to show multipage TIFF files on iPad / iPhone / iPod Touch. Use it in two steps:

1) Create NSTiffSplitter instance:

- (id) initWithData:(NSData *)imgData;
or
- (id) initWithImageUrl:(NSURL *)imgUrl usingMapping:(BOOL)usingMapping;
Second method always use mapping.

2) Get any page of tiff file with next method:
- (NSData *) dataForImage:(NSUInteger)imageIndex;
It returns monopage tiff file for every page of multipage tiff file.

You can get count of images in file with countOfImages property.

- Anton Sharrp Furin

Web: http://sharrp.blogspot.com
Twitter: http://twitter.com/5hrp

About

Objective-C class for viewing multipage tiff files on iOS devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%