Wonking with 4 bands

2013-04-15
2013-08-20
  • Andrea Peri
    Andrea Peri
    2013-04-15

    Hi,
    I'm having some trouble with a raster having 4 bands.

    I have this error:

    [2/4]: Command / Argument is CNT : 1.1
    CNT handler reached
    CNT :: requested contrast adjustment is 1.1
    [3/4]: Command / Argument is SDS : 0,90
    SDS handler reached
    SDS :: set to 0, 90
    [4/4]: Command / Argument is JTL : 3,4
    JTL handler reached
    TileManager :: Cache Miss for resolution: 3, tile: 4
    TileManager :: Cache Size: 0 tiles, 0 MB
    TileManager :: Watermark applied: 3 microseconds
    TileManager :: Tile cache insertion time: 705 microseconds
    TileManager :: Total Tile Access Time: 2849 microseconds
    JTL :: Tile size: 256 x 256
    JTL :: Channels per sample: 4
    JTL :: Bits per channel: 8
    JTL :: Data size is 262144 bytes
    JTL :: Compressing UNCOMPRESSED to JPEG
    JPEGCompressor: JPEG can only handle images of either 1 or 3 channels

    Is possible use IIP with 4 bands images ?

    Thx,

     
  • Ruven
    Ruven
    2013-04-15

    No, because as it says in the error message, JPEG cannot handle 4 band images. What kind of image is this exactly? CMYK, RGB with an alpha channel or 4 band multispectral?

     
  • Andrea Peri
    Andrea Peri
    2013-04-15

    Hi,

    It is a RGB with an alpha channel.

    I understand could be trasform to a 3 channel removing the alpha channel.
    But I prefer to maintaint it as the original image.
    Is possible to say to IIP to ignore the 4th channel ?

    Thx,

    Andrea.

     
    • Andrea Peri
      Andrea Peri
      2013-08-20

      Hi,

      I have many thousand of images with 4 band.
      Is possible to say to IIP to ignore the 4th band instead of removing it ?

      I don't know if the last trunk version will allow something like this.

      Thx,

      Andrea

       


Anonymous


Cancel   Add attachments