Hey Miguel.  The compression is done using a port of SharpZipLib which has
been refactored to work as a silverlight assembly.

The unit test in the project will show you how it's done.  There is nothing
preventing it from being used with other files types however my primary goal
was for image up load which does the resize on the fly.  That could be
optional though.

It's not really a tool just yet.  The Zipping part is done though have a
look at the Unit Test in the project for an example.

On Mon, Dec 14, 2009 at 5:48 PM, Miguel Madero <[email protected]> wrote:

> Martin,
>
> That's a great tool. I was looking for something like this a while ago.
> I'll keep an eye on it.
>
> How do you do the compression on the client? Is it something generic that
> could be done for any file type? For example if I need to upload multiple
> word documents and PDFs?
>
>
>
>
> On Tue, Dec 15, 2009 at 9:51 AM, Martin Murphy <
> [email protected]> wrote:
>
>> I started a project.
>> http://github.com/soitgoes/Silverlight-Multiple-Jpeg-Uploader
>>
>> I've used the other Silverlight uploader but one problem I aim to
>> solve with this is if the resize is done on the client side then it's
>> really important to get the thumbnail as well as the main image up to
>> the server.  So in order to make it atomic I'm zipping them into a
>> single file before the upload.  This also should make for a much
>> better experience on the progress bar since it's a single file with a
>> known size.
>>
>> I have the unit test done for resizing and zipping done.
>>
>> If anyone is interested in assisting on this project or has any other
>> ideas please let me know.
>>
>> Primarily I could use some assistance with the XAML design
>>
>> Thanks again.
>>
>> --
>> Martin Murphy
>> Whiteboard-it
>> (205) 910-0720
>>
>> _______________________________________________
>> ozsilverlight mailing list
>> [email protected]
>> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>>
>>
>
>
> --
> Miguel A. Madero Reyes
> www.miguelmadero.com (blog)
> [email protected]
>
> _______________________________________________
> ozsilverlight mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
>
>


-- 
Martin Murphy
Whiteboard-it
(205) 910-0720
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to