Layer 220
PhotoSizeProgressive
Progressively encoded photosize
constructor
photoSizeProgressive#fa3efb95 type:string w:int h:int sizes:Vector<int> = PhotoSize;
Parameters
| Name | Type | Description |
|---|---|---|
| Type | string | Photosize type |
| W | int | Photo width |
| H | int | Photo height |
| Sizes | Vector<int> | Sizes of progressive JPEG file prefixes, which can be used to preliminarily show the image. |
Returns
PhotoSizeGogram Example
// Creating PhotoSizeProgressive constructor obj := &tg.PhotoSizeProgressive{ Type: "...", W: 0, H: 0, Sizes: []int{}, }