Saving an Image to Exist

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Saving an Image to Exist

Ryan Puddephatt
All,
    I'm trying to use the Image Server processor to resize uploaded images and the Save this to EXist, but the output of the Image Server is base64 encoded, is there anyway to get this back to the raw image for storing in exist?
 
BTW the Image Server documentation doesn't mention that it has a data output, perhaps this should be added, I was about to make a custom one :-)
 
Thanks
 
Ryan

Ryan Puddephatt
Software Engineer
 

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP
 
e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108
w> www.teleflex.com

 


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Saving an Image to Exist

Erik Bruchez
Administrator
Ryan,

I am not sure what you mean here by "get this back to the raw image"? Do
you want maybe a processor able to do an HTTP PUT from a Base64-encoded
input? I don't think we have anything like this at the moment.

Yes, it would be nice to document the "data" output. I even forgot it
was there ;-)

-Erik

Ryan Puddephatt wrote:

> All,
>     I'm trying to use the Image Server processor to resize uploaded
> images and the Save this to EXist, but the output of the Image Server is
> base64 encoded, is there anyway to get this back to the raw image for
> storing in exist?
>  
> BTW the Image Server documentation doesn't mention that it has a data
> output, perhaps this should be added, I was about to make a custom one :-)
>  
> Thanks
>  
> Ryan
>
> Ryan Puddephatt
> Software Engineer
>  
>
> Teleflex Group - IT UK
> 1 Michaelson Square
> Livingston
> West Lothian
> Scotland
> EH54 7DP
>  
> e> [hidden email] <mailto:[hidden email]>
> t> +44(0)1506 407 110
> f> +44(0)1506 407 108
> w> www.teleflex.com <http://www.teleflex.com/>
>
>  

--
Orbeon Forms - XForms Everywhere
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Saving an Image to Exist

Ryan Puddephatt
Erik,
        I've found a way around this, but creating a REST style interface to
pull base64 encoded documents out and http-serialize them to there original
content-type
Ryan

Ryan Puddephatt
Software Engineer

Teleflex Group - IT UK
1 Michaelson Square
Livingston
West Lothian
Scotland
EH54 7DP

e> [hidden email]
t> +44(0)1506 407 110
f> +44(0)1506 407 108

 

>-----Original Message-----
>From: Erik Bruchez [mailto:[hidden email]] On Behalf Of
>Erik Bruchez
>Sent: 15 November 2006 10:29
>To: [hidden email]
>Subject: Re: [ops-users] Saving an Image to Exist
>
>Ryan,
>
>I am not sure what you mean here by "get this back to the raw
>image"? Do you want maybe a processor able to do an HTTP PUT
>from a Base64-encoded input? I don't think we have anything
>like this at the moment.
>
>Yes, it would be nice to document the "data" output. I even
>forgot it was there ;-)
>
>-Erik
>
>Ryan Puddephatt wrote:
>> All,
>>     I'm trying to use the Image Server processor to resize uploaded
>> images and the Save this to EXist, but the output of the
>Image Server
>> is
>> base64 encoded, is there anyway to get this back to the raw
>image for
>> storing in exist?
>>  
>> BTW the Image Server documentation doesn't mention that it
>has a data
>> output, perhaps this should be added, I was about to make a
>custom one
>> :-)
>>  
>> Thanks
>>  
>> Ryan
>>
>> Ryan Puddephatt
>> Software Engineer
>>  
>>
>> Teleflex Group - IT UK
>> 1 Michaelson Square
>> Livingston
>> West Lothian
>> Scotland
>> EH54 7DP
>>  
>> e> [hidden email] <mailto:[hidden email]>
>> t> +44(0)1506 407 110
>> f> +44(0)1506 407 108
>> w> www.teleflex.com <http://www.teleflex.com/>
>>
>>  
>
>
>--
>Orbeon Forms - XForms Everywhere
>http://www.orbeon.com/blog/
>
>



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Saving an Image to Exist

Alessandro  Vernet
Administrator
In reply to this post by Erik Bruchez
On 11/15/06, Erik Bruchez <[hidden email]> wrote:
> Yes, it would be nice to document the "data" output. I even forgot it
> was there ;-)

Ryan et al,

If you feel like updating the documentation for this, or something
else, if you have the examples deployed locally and that you are
viewing, say, /doc/integration-development, you will find a file
integration-development.xml in the resources. You can modify that
file, and send the updated version in this list.

Alex
--
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet