Problem with a tif while, black screen

Help
2014-05-13
2014-05-15
  • Alexander Karnstedt

    Hi

    I have an image on Wikimedia Commons, that has problems with IIP:

    https://commons.wikimedia.org/wiki/File:Schmettau_Plan_de_la_Ville_de_Berlin_1750.jpg

    When I open the image with IIP, than I can only see a black screen.

    It seems to be a problem with the TIF file, that is generated in the background by Wikimedia Commons. The tif file can be found under:

    http://toolserver.org/~dschwen/iip/cache/4221b71d5720fa184063ec4b054b2855.tif

    I can't see, what is wrong with that TIF. I can open it normally with Photoshop.

    I tested that TIF on a local installation of IIP and could reproduce the problem. In the log file I see the following output:

    CVT maximum viewport size set to 5000
    Full Request is FIF=4221b71d5720fa184063ec4b054b2855.tif&cnt=1&sds=0,90&jtl=3,15
    [1/4]: Command / Argument is FIF : 4221b71d5720fa184063ec4b054b2855.tif
    FIF handler reached
    FIF :: URL decoding/filtering: 4221b71d5720fa184063ec4b054b2855.tif => 4221b71d5720fa184063ec4b054b2855.tif
    FIF :: Image cache initialisation
    FIF :: TIFF image requested
    FIF :: Created image
    FIF :: Image dimensions are 9358 x 13410
    FIF :: Image timestamp: Tue, 13 May 2014 13:09:42 GMT
    FIF :: Total command time 0 microseconds
    [2/4]: Command / Argument is cnt : 1
    CNT handler reached
    CNT :: requested contrast adjustment is 1
    [3/4]: Command / Argument is sds : 0,90
    SDS handler reached
    SDS :: set to 0, 90
    [4/4]: Command / Argument is jtl : 3,15
    JTL handler reached
    TileManager :: Cache Miss for resolution: 3, tile: 15
    TileManager :: Cache Size: 0 tiles, 0 MB

    Can someony give an advice, what might be wrong with that file?

    Alex

     
  • Alexander Karnstedt

    I compared some of the TIF files on Wikimedia Commons and saw a difference, that the one file which does not work is in YCbCr color space and read the IIP 0.9.9 is not supporting this color space.

    https://github.com/jcupitt/libvips/issues/99

     
    • David A gutman

      David A gutman - 2014-05-14

      Yeah I had that problem a while ago-- you can't use the prepackaged version
      available in Ubuntu... but building from source to 1.0.0 solves that
      problem..

      On Wed, May 14, 2014 at 12:22 PM, Alexander Karnstedt
      alexrk@users.sf.netwrote:

      I compared some of the TIF files on Wikimedia Commons and saw a
      difference, that the one file which does not work is in YCbCr color space
      and read the IIP 0.9.9 is not supporting this color space.

      https://github.com/jcupitt/libvips/issues/99

      Problem with a tif while, black screenhttps://sourceforge.net/p/iipimage/discussion/299494/thread/e2ce5b87/?limit=25#76d2

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/iipimage/discussion/299494/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

      --
      David A Gutman, M.D. Ph.D.
      Assistant Professor of Biomedical Informatics
      Senior Research Scientist, Center for Comprehensive Informatics
      Emory University School of Medicine

       
      • Ruven

        Ruven - 2014-05-15

        Yes, for YCbCr support, you'll have to build from source until I release 1.0.

         

Anonymous
Anonymous

Cancel  Add attachments