Opened 17 years ago

Closed 15 years ago

#1167 closed Task (fixed)

Change gifs to png

Reported by: Alfonso Martínez de Lizarrondo Owned by:
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Confirmed Cc:


Not something about patents or anything, just the fact that in most cases png can give better compression than gifs, specially if they are processed with a specialized program. A list is available

Pngcrush was good, but now it seems that it isn't the king. I've tested pngoutwin (trial) and it was able to shrink the fck_strip.gif from 4804 to 2870 bytes, and the toolbar.buttonbg.gif from 829 to 127 (well, and then the remaining gifs processed in the demo did get bigger, so we leave them just as they are)

Of course, the size of the images isn't really a very big deal, but every little detail can help to improve performance.

Change History (4)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added

We used the PNG format in the DOCS and it worked out great so I think that it is really a good idea.

comment:2 Changed 16 years ago by Frederico Caldeira Knabben

Milestone: FCKeditor 3.0

Definitely something to be considered. Of course, we must well test its compatibility (specially with IE6).

It would also give us the possibility of having richer icons and even think about using transparencies.

comment:3 Changed 16 years ago by Alfonso Martínez de Lizarrondo

My initial proposal is just to convert the gifs to png with the same color palette, no change except for the file format itself. All the browsers will handle it without any problem, it's about 5 minutes to do all the changes and it requires no special testing. Of course in the future it can be used for a richer iconset, but that's definitively another beast.

comment:4 Changed 15 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

Ok... I've made an optimization effort in this sense while creating the current V3 skins. We should be ok in this sense now, having mostly optimized PNGs now, with GIFs just there were we can have benefit of it.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy