Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Feedback & Announcements

Announcing Data Residency for Standard and Premium licenses

Update: https://community.atlassian.com/t5/Atlassian-Cloud-Migration/Data-Residency-Comes-to-Australia-amp-Update-on-Data-Residency/ba-p/1825538 We have just released data residency for Austra...

6,770 views 16 47
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you