---
name: "TIFFsize"
section: "3t"
platform: "linux"
package: "libtiff3g-dev"
version: "3.5.5-6.woody5"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/TIFFsize"
---

# TIFFsize(3t)

return the size of various items associated with an open TIFF file

## NAME

TIFFScanlineSize, TIFFRasterScanlineSize, - return the size of various items associated with an open TIFF file

## SYNOPSIS

```
#include <tiffio.h>
tsize_t TIFFRasterScanlineSize(TIFF* tif)
tsize_t TIFFScanlineSize(TIFF* tif)
```

## DESCRIPTION

*TIFFScanlineSize* returns the size in bytes of a row of data as it would be returned in a call to *TIFFReadScanline*, or as it would be expected in a call to *TIFFWriteScanline*.

*TIFFRasterScanlineSize* returns the size in bytes of a complete decoded and packed raster scanline. Note that this value may be different from the value returned by *TIFFScanlineSize* if data is stored as separate planes.

## DIAGNOSTICS

None.

## SEE ALSO

*libtiff*(3T), *TIFFOpen*(3T), *TIFFReadScanline*(3T)
