Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,443
Community Members
 
Community Events
168
Community Groups

JPEG or GIF attachments - Pros and Cons of each format

Often I see diagrams and flow charts on the web (and as attachments in JIRA or Confluence) saved as JPG or JPEG files and generally speaking that is bad practice. Better to use GIF in most cases. Why?

  1. GIF is lossless, JPG is 'lossy' - making the picture objects (lines, text, shapes) 'fuzzy' at the edges.
  2. For diagrams with lots of whitespace (or large areas of solid color), GIF actually compresses better unless you make the JPG completely unreadable by setting the compression extremely high.

The only exception I can think of is if you include photographs or images with gradual shading, but I am willing to listen to any objections :o) 

Another note on JPG, every time you save a file as JPG in most software, the compression algorithm runs again and you may lose quality even in areas you did not touch. Try to go back to the original source image (or use software with a lossless format) whenever you can!

1 comment

I generally agree with this.  GIF more for graphics and JPG really for photo type images.  but the real question is how do you pronounce GIF?

With apprehension....

I use a hard 'G' since it comes from the word 'Graphics', but the inventor says 'jif'. Oh, tomato-tomato, wait, that didn't come out the way I wanted it to, the order got reversed somehow...

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events