JPG to PNG Conversion: When to Convert and How to Do It Right