summaryrefslogtreecommitdiffstats
path: root/macosx/HBImageUtilities.h
blob: beb19593ffb258cbc4d2d110ed7b11dbb02b8162 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*  HBImageUtilities.h $

 This file is part of the HandBrake source code.
 Homepage: <http://handbrake.fr/>.
 It may be used under the terms of the GNU General Public License. */

#import <Foundation/Foundation.h>

CF_ASSUME_NONNULL_BEGIN

CGImageRef __nullable CreateScaledCGImageFromCGImage(CGImageRef image, CGFloat thumbnailHeight);
CGImageRef __nullable CGImageRotated(CGImageRef imgRef, CGFloat angle, BOOL flipped) CF_RETURNS_RETAINED;
CGColorSpaceRef copyColorSpace(int primaries, int transfer, int matrix);

CF_ASSUME_NONNULL_END