Try here.  it is a category for nsdata in this post.
http://www.thohensee.com/?page_id=435

Tom

Sent from my iPhone

On Jul 1, 2012, at 10:26 AM, Alexander Hartner <a...@j2anywhere.com> wrote:

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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/tom.hohensee%40gmail.com

This email sent to tom.hohen...@gmail.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to