This project is read-only.


Should we be using PNG's instead of JPEGs?


I've been using jpeg's up to now. Which is better - png or jpeg as far as the SIT is concerned? Or does it not matter much?
Some background; In the creation of a sparse image with the DZI we deal with three images: input (your JPGs), intermediate when we convert each input image to a non-sparse DZI and then the output DZI which is a sparse composition of the intermediate images.
My advice is to use PNG for the first two.
  1. Try to scan or extract your input materials to a PNG format.
  2. Convert the input PNGs to DZI’s images with PNG tiles, using the ImageTool (part of the DeepZoomComposer distribution). The correct command line is something like:
    ImageTool.exe convert <inputfile> png
  3. Add the non-sparse DZI images (from step 2) to the scene graph file and run SIT.
    This will ensure that there is no quality degradation from compressing/decompressing lossy JPGs.
    For the output image you need to balance the quality of PNG versus the size reduction of the JPG tiles. My suggestion is try them out both and choose the correct format for your needs. You might also want to try with different quality levels when encoding JPG tiles.


gwatts wrote Mar 20, 2010 at 7:23 AM

jpeg is better for continuous tone images, and png for things that aren't. Slides tend to mostly be single tone... png is lossless... so - we shoudl switch to that, I guess!

gwatts wrote Mar 20, 2010 at 7:26 AM

According to writeup - compression above 0.9 will not really make a visible difference. So that is what we shoudl run and compare a talk at.

wrote May 1, 2010 at 9:41 PM

wrote Feb 2, 2013 at 4:05 AM

wrote May 16, 2013 at 12:27 AM

wrote May 16, 2013 at 12:27 AM

wrote Jun 12, 2013 at 1:42 AM