is there way select scaling algorithm used apple's cgcontextscalectm() function ? basically, see doing kind of filtering, simple bilinear filter, want no filtering or interpolation @ all, want basic nearest neighbor algorithm.
thankfully, pixels stored linear array, able write own scaling function simple algorithm, wondering if there "cleaner" way let me implement sorts of filtering in scaling function in case ever wanted cleaner graphics.
can't find squat in documentation aside cgcontextscalectm scale bitmap context , function doesn't take filtering argument. doing manually means have write bunch of scalers 4 byte pixel arrays , call appropriate 1 based on filtering argument sent function.
Forums iPhone, iPad, and iPod Touch iOS Programming
- iPhone
- Mac OS & System Software
- iPad
- Apple Watch
- Notebooks
- iTunes
- Apple ID
- iCloud
- Desktop Computers
- Apple Music
- Professional Applications
- iPod
- iWork
- Apple TV
- iLife
- Wireless
No comments:
Post a Comment