Hi Syed. I can't comment upon UGameDB but generally speaking you will need
to set a content-type header indicating the mime type. For a JPEG image
that type would be image/jpeg for a PNG it would be image/png. Riak just
regards data as opaque blobs so it is probably defaulting to text/plain.
Take a look at the examples on the docs website -
http://docs.basho.com/riak/latest/dev/using/basics/
On 11 May 2015 05:28, "syed shabeer" <shabeer.s...@gmail.com> wrote:

> I am new to Riak and UGameDB, seeking help to retrieve image stored in
> Riak using UGameDB.
> I've used Bucket.Set(key,object) and inside the object i am passing an
> image.
> When i retrieve the key values using Bucket.Get(Key), i see the values in
> ASCII.
> Please let me know the correct approach to retrieve the image.
>
> Thank you
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to