This is more of a general programming question. In creating thumbnails both jpeg an png accept compression but at different number scale, jpeg 100 an png 9. I have one variable for jpeg an wondered if someone could help with a ratio conversion to create a compression number for png from the jpeg...