0
나는 그 차이를 이해할 수 없다. 그것은 솔기가 동일하지만 솔기가 없습니다!PDFPage initWithImage : 이상한 행동
enybody가 이유를 알고 있습니까?
NSImage *image = [[NSImage alloc]initWithContentsOfFile:imagePath];
PDFPage *imagePDFPage = [[PDFPage alloc] initWithImage:(CIImage *) image];
: 여기
// Working:
PDFPage *imagePDFPage = [[PDFPage alloc] initWithImage:
[[NSImage alloc]initWithContentsOfFile:imagePath]];
// NOT Working:
NSImage *image = [[NSImage alloc]initWithContentsOfFile:imagePath];
PDFPage *imagePDFPage = [[PDFPage alloc] initWithImage:image];