Thanks. Appreciated.
> On 16 Jan 2019, at 9:43 am, Vince DeMarco wrote:
>
> Here is code that will write it out as a PNG
>
> void WriteImageToPath(CGImageRef image,const char *path)
> {
>CGImageDestinationRef dest;
>CFURLRef url;
>
>url = CFURLCreateFromFileSystemRepre
Real easy to google for. Search on jpegRepresentation.
Sent from my iPhone
> On Jan 15, 2019, at 4:35 PM, Bruce Stephens wrote:
>
> Any chance to see those few lines of code for NSimage ImageIO to jpeg?
> Thanks. Bruce.
>
>> On 16 Jan 2019, at 7:00 am, cocoa-dev-requ...@lists.apple.com wrote
Here is code that will write it out as a PNG
void WriteImageToPath(CGImageRef image,const char *path)
{
CGImageDestinationRef dest;
CFURLRef url;
url = CFURLCreateFromFileSystemRepresentation(kCFAllocatorDefault,(const
UInt8 *)path,strlen(path),0);
dest = CGImageDest
Any chance to see those few lines of code for NSimage ImageIO to jpeg? Thanks.
Bruce.
> On 16 Jan 2019, at 7:00 am, cocoa-dev-requ...@lists.apple.com wrote:
>
> Send Cocoa-dev mailing list submissions to
>cocoa-dev@lists.apple.com
>
> To subscribe or unsubscribe via the World Wide Web, visi