This discussion is archived
3 Replies Latest reply: Oct 26, 2010 11:06 AM by jtahlborn RSS

What is difference between C# Gzip and Java swing GZIPOutputStream?

800960 Newbie
Currently Being Moderated
Hi All,
I have a Java swing tool where i can compress file inputs and we have C# tool.

I am using GZIPOutputStream to compress the stream .

I found the difference between C# and Java Gzip compression while a compressing a file (temp.gif ) -

After Compression of temp.gif file in C# - compressed file size increased
while in java i found a 2% percentage of compression of data.

Could you please tell me , can i achieve same output in Java as compared to C# using GZIPOutputStream ?

Thank a lot in advance.


  • Correct Answers - 10 points
  • Helpful Answers - 5 points