Greetings Gentlemen,

I'm having troubles with the imageService namely with the method
getServingUrl().

I'm sending the raw image data to my own servlet, write to a blob, and
ask for an URL.
Exactly like the sample from the documentation.

Doing that throws a 'Failed to read image' exception.

So the problem must be that i'm providing wrong image data.

I've tried 2 things:

The binary version:

PNG



IHDR € 8  èÓÁC IDATx ì}   ÅÕÿï z‘^ •Þ  etc etc.

and

the base64 encoded version:

data:image/png;base64,iVBORw0KGgoAAAANSUhEUg etc etc

Both give the same exception.

So what am i doing wrong?

Here's my code:

http://pastebin.com/KLXL0WyV


Thanks for reading, any and all help is much appreciated.

PS. for special reasons i cannot use the form to upload it directly to
the blobstore by using  blobstoreService.createUploadUrl.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to