Who told you that you can compress the file to any predefined value? :-) You already have LZW (lossless) compression and got pretty good results.
Well, you can get less bits per pixel. If you don't need opacity layer,
PixelFormat.Format24bppRgb
is still quite good. Going down… is possible but usually looks ugly. Also, it depends on the image. If you have limited number of colors (geometric graphics),
PixelFormat.Format1bppIndexed
, but this is a rare situation. You can go anywhere lower, but I doubt you can get good results this way. Please see:
http://msdn.microsoft.com/en-us/library/system.drawing.imaging.pixelformat%28v=vs.110%29.aspx[
^].
Other than that — you can move to the field of lossy compression, such as JPEG or lossy PNG. One warning: never edit images saving results using lossy compression: the artifacts of compression will accumulate and deteriorate the image quality beyond repair. The compression should be done only once. Use only lossless compression for any intermediate results. Please see:
http://en.wikipedia.org/wiki/Lossless_compression[
^],
http://en.wikipedia.org/wiki/Lossy_compression[
^],
http://en.wikipedia.org/wiki/JPEG[
^],
http://en.wikipedia.org/wiki/Portable_Network_Graphics#Compression[
^].
—SA