io7m | single-page | multi-page | Calino User Manual
1.10. show-metadata
Previous
1. Command-Line Interface
Up
1.12. show-summary
Next

# 1.11. show-sections

- 1.11.1. Name
- 1.11.2. Description
- 1.11.3. Examples

## 1.11.1. Name

1
show-sections - Show sections in texture files.

## 1.11.2. Description

1
The show-sections command displays the sections present in texture files.

### 1.11.2.2. Parameters

Parameter | Type | Required | Description
--- | --- | --- | ---
--file | Path | true | The texture file
--verbose | CLPLogLevel | false | Set the minimum logging verbosity level.

3
The command will print one line per section s in the given texture file.
4
If s is of a type recognized by the implementation, then the line printed for s will be i k (r) @o 'size' n, where i is the index of the section within the file (starting at 0), k is the name of the section, r is the raw 64-bit section identifier, o is the absolute base-16 offset of the start of the section within the file, and n is the base-16 size of the section.
5
If s is of a type not recognized by the implementation, then the line printed for s will be i r @o 'size' n, where i is the index of the section within the file (starting at 0), r is the raw 64-bit section identifier, o is the absolute base-16 offset of the start of the section within the file, and n is the base-16 size of the section.

## 1.11.3. Examples

### 1.11.3.1. Example

    $ calino show-sections --file cube-meta.ctf
    [ {
      "Name" : "IMAGE_INFO",
      "Index" : 0,
      "Tag" : "434c4e49494e464f",
      "Offset" : "@0x10",
      "Size" : "168"
    }, {
      "Name" : "METADATA",
      "Index" : 1,
      "Tag" : "434c4e5f4d455441",
      "Offset" : "@0xd0",
      "Size" : "244"
    }, {
      "Name" : "IMAGE_2D",
      "Index" : 2,
      "Tag" : "434c4e5f49324421",
      "Offset" : "@0x1e0",
      "Size" : "4160"
    }, {
      "Name" : "END",
      "Index" : 3,
      "Tag" : "434c4e5f454e4421",
      "Offset" : "@0x1230",
      "Size" : "0"
    } ]

1.10. show-metadata
Previous
1. Command-Line Interface
Up
1.12. show-summary
Next
io7m | single-page | multi-page | Calino User Manual