zoukankan      html  css  js  c++  java
  • TIFF Tag TileWidth

    TIFF Tag TileWidth

    IFD Image
    Code   322 (hex 0x0142)
    Name   TileWidth
    LibTiff name   TIFFTAG_TILEWIDTH
    Type   SHORT or LONG
    Count   1
    Default   None

    Description

    The tile width in pixels. This is the number of columns in each tile.

    Assuming integer arithmetic, three computed values that are useful in the following field descriptions are:
    TilesAcross = (ImageWidth + TileWidth - 1) / TileWidth
    TilesDown = (ImageLength + TileLength - 1) / TileLength
    TilesPerImage = TilesAcross * TilesDown
    These computed values are not TIFF fields; they are simply values determined by the ImageWidth, TileWidth, ImageLength, and TileLength fields.

    TileWidth must be a multiple of 16. This restriction improves performance in some graphics environments and enhances compatibility with compression schemes such as JPEG. Tiles need not be square.

    Note that ImageWidth can be less than TileWidth, although this means that the tiles are too large or that you are using tiling on really small images, neither of which is recommended. The same observation holds for ImageLength and TileLength.

  • 相关阅读:
    zabbix_agent 主动模式配置
    zabbix 监控ipmi
    超级详细全截图化VMware 安装ubantu
    docker 部署
    C# DataTable和List转换操作类
    C#类型转换工具类
    C# 注册windows 服务
    C# wsdl.exe 生成类文件
    visual studio code download url
    c# xml序列化和反序列化
  • 原文地址:https://www.cnblogs.com/ybqjymy/p/13704443.html
Copyright © 2011-2022 走看看