Menu

WATERMARKING works wit tif-Files but not with jp2-Files

Help
Anonymous
2014-02-10
2015-01-19
  • Anonymous

    Anonymous - 2014-02-10

    I am able to watermark tiff-file but not jp2-files.
    What could be the reason ?

    Tool kdu_jp2info delivers the following information:

    ~~~~~~~
    <JP2_family_file>
    <ftyp name="file-type box" header="8" body="12" pos="12">
    <brand> "jp2_" 0x6A703220 </brand>
    <minor_version> 0 </minor_version>
    <compatible_brand> "jp2_" 0x6A703220 </compatible_brand>
    </ftyp>
    <jp2h name="JP2-header box" header="8" body="63" pos="32">
    <ihdr name="image-header box" header="8" body="14" pos="40"></ihdr>
    <colr name="colour box" header="8" body="7" pos="62"></colr>
    <res_ name="resolution box" header="8" body="18" pos="77">
    <resc name="capture-resolution box" header="8" body="10" pos="85"></resc>
    </res_>
    </jp2h>
    <jp2c name="contiguous-codestream box" header="8" body="rubber" pos="103">
    <codestream>
    <width> 1396 </width>
    <height> 1290 </height>
    <components> 3 </components>
    <tiles> 4 </tiles>
    </codestream>
    </jp2c>
    </JP2_family_file>
    ~~~~~~~~~

    Logging: not watermarking jp2-files

    CVT maximum viewport size set to 5000
    Full Request is FIF=/var/www/images/tiles50.jp2&WID=800&CVT=jpeg
    [1/3]: Command / Argument is FIF : /var/www/images/tiles50.jp2
    FIF handler reached
    FIF :: URL decoding/filtering: /var/www/images/tiles50.jp2 => /var/www/images/tiles50.jp2
    FIF :: Image cache miss
    FIF :: JPEG2000 image requested
    FIF :: Created image
    FIF :: Image dimensions are 1396 x 1290
    FIF :: Image timestamp: Mon, 10 Feb 2014 00:25:05 GMT
    FIF :: Total command time 461 microseconds
    [2/3]: Command / Argument is WID : 800
    WID handler reached
    WID :: requested width is 800
    [3/3]: Command / Argument is CVT : jpeg
    CVT handler reached
    CVT :: JPEG output handler reached
    CVT :: image set to 1396x1290 using resolution 3
    CVT :: No view port set
    CVT :: Requested scaled region size is 799x739. Nearest pyramid region size is 1396x1290
    CVT :: About to JPEG compress image
    CVT :: Compressed data strip length is 305753
    CVT :: Total command time 119701 microseconds
    Memcached :: stored 305956 bytes in 811 microseconds
    Total Request Time: 121670 microseconds
    image closed and deleted
    Server count is 2

    Logging: Successfully watermarking tiff-files

    Full Request is FIF=/var/www/images/louvre.tif&WID=800&CVT=jpeg
    [1/3]: Command / Argument is FIF : /var/www/images/louvre.tif
    FIF handler reached
    FIF :: URL decoding/filtering: /var/www/images/louvre.tif => /var/www/images/louvre.tif
    FIF :: Image cache hit. Number of elements: 1
    FIF :: TIFF image requested
    FIF :: Created image
    FIF :: Image dimensions are 4000 x 828
    FIF :: Image timestamp: Sat, 08 Feb 2014 17:08:43 GMT
    FIF :: Total command time 368 microseconds
    [2/3]: Command / Argument is WID : 800
    WID handler reached
    WID :: requested width is 800
    [3/3]: Command / Argument is CVT : jpeg
    CVT handler reached
    CVT :: JPEG output handler reached
    CVT :: image set to 1000x207 using resolution 3
    CVT :: No view port set
    CVT :: Requested scaled region size is 797x165. Nearest pyramid region size is 1000x207
    TileManager :: Cache Miss for resolution: 3, tile: 0
    TileManager :: Cache Size: 206 tiles, 9.95411 MB
    TileManager :: Watermark applied: 27 microseconds
    TileManager :: Tile cache insertion time: 52 microseconds
    TileManager :: Total Tile Access Time: 488 microseconds

     
  • Ruven

    Ruven - 2014-02-11

    Which version of iipsrv are you using?

     
    • Anonymous

      Anonymous - 2014-02-12

      <----------------------------------->
      Wed Feb 12 13:26:21 2014

      I am using version 0.9.9 according the log file:

      IIPImage Server. Version 0.9.9
      *** Ruven Pillay <ruven@users.sourceforge.net> ***
      
      Verbosity level set to 6
      Running in FCGI mode
      
      Setting maximum image cache size to 10MB
      Setting filesystem prefix to ''
      Setting default JPEG quality to 90
      Setting maximum CVT size to 5000
      Setting 3D file sequence name pattern to '_pyr_'
      Setting up JPEG2000 support via Kakadu SDK
      Loaded watermark image '/var/www/logo.tif': setting probability to 1 and opacity to 1
      Memcached support enabled. Connected to servers: 'localhost' with timeout 86400
      
      Initialisation Complete.
      <----------------------------------->
      
       
    • Anonymous

      Anonymous - 2014-02-12

      IIPImage Server. Version 0.9.9
      Ruven Pillay ruven@users.sourceforge.net

      Verbosity level set to 6
      Running in FCGI mode

      Setting maximum image cache size to 10MB
      Setting filesystem prefix to ''
      Setting default JPEG quality to 90
      Setting maximum CVT size to 5000
      Setting 3D file sequence name pattern to 'pyr'
      Setting up JPEG2000 support via Kakadu SDK
      Loaded watermark image '/var/www/logo.tif': setting probability to 1 and opacity to 1
      Memcached support enabled. Connected to servers: 'localhost' with timeout 86400

      Initialisation Complete.
      <----------------------------------->

       
  • Anonymous

    Anonymous - 2014-02-13

    IIPImage Server. Version 0.9.9
    Ruven Pillay ruven@users.sourceforge.net

    Verbosity level set to 6
    Running in FCGI mode

    Setting maximum image cache size to 10MB
    Setting filesystem prefix to ''
    Setting default JPEG quality to 90
    Setting maximum CVT size to 5000
    Setting 3D file sequence name pattern to 'pyr'
    Setting up JPEG2000 support via Kakadu SDK
    Loaded watermark image '/var/www/logo.tif': setting probability to 1 and opacity to 1
    Memcached support enabled. Connected to servers: 'localhost' with timeout 86400

    Initialisation Complete.
    <----------------------------------->

     

Anonymous
Anonymous

Add attachments
Cancel