It seems like the SetCompressLevel() really doesn't affect the output size at all. For any value between -2 and 9 I always get a 3.2MB file as output in my application. The pdf can actually be compressed very well - if I use an online pdf compressor set at its best quality-setting the file gets reduced to a mere 99KB.
So something is wrong with the implementation of compression in gopdf.
It seems like the SetCompressLevel() really doesn't affect the output size at all. For any value between -2 and 9 I always get a 3.2MB file as output in my application. The pdf can actually be compressed very well - if I use an online pdf compressor set at its best quality-setting the file gets reduced to a mere 99KB.
So something is wrong with the implementation of compression in gopdf.