Re: Base64 encoding of NSImage
Re: Base64 encoding of NSImage
- Subject: Re: Base64 encoding of NSImage
- From: "Richard Altenburg (Brainchild)" <email@hidden>
- Date: Sun, 01 Jul 2012 17:34:23 +0200
I think the answers given here will help you out:
http://stackoverflow.com/questions/392464/any-base64-library-on-iphone-sdk
[[[Brainchild alloc] initWithName:@"Richard Altenburg"] saysBestRegards];
Op 1 jul. 2012, om 17:23 heeft Alexander Hartner het volgende geschreven:
> I am looking at available option to send an NSImage to a webserver. I came across gSoap however its licensing model makes it not suitable. Using REST / JSON seems like an easy option however NSDATA does not seem to be supported by the JSON Serialiser. The one remaining option I considered was to encode the image myself to base64 before including in the JSON request. This could work quite nicely, however there doesn't seem to be a standard method for base64 encoding.
>
> Any suggestion on how to best achieve this.
>
> Kind regards
> Alex
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden