mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-27 12:15:19 +01:00
22 lines
454 B
Objective-C
22 lines
454 B
Objective-C
//
|
|
// PNG8Image.h
|
|
// Clover
|
|
//
|
|
// Created by vector sigma on 07/03/2020.
|
|
// Copyright © 2020 CloverHackyColor. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#include "lodepng.h"
|
|
#import "libimagequant.h"
|
|
|
|
//NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface PNG8Image : NSImage
|
|
- (nullable NSData *)png8ImageDataAtPath:(NSString *_Nonnull)imagePath
|
|
error:(NSError *_Nullable*_Nullable)errorPtr;
|
|
|
|
@end
|
|
|
|
//NS_ASSUME_NONNULL_END
|