phantomjs output file size: png v gif
问题 With phantomjs you can choose the file format to use for page.render(). I'm finding that the file size I'm getting for png is around three times higher than what I'm getting for gif. I wasn't aware that png should be any worse (in terms of file size) than gif; in fact I thought png was meant to be better. Unfortunately, I kinda need to output to png because of its support for variable opacity, but the larger file size is a bit of an issue. So, is there any way in which I can control file size