You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Image is now an array of 2D images of same size and type.
New Image calls:
- image.layers() 0 => no layers, like 0-width and 0-height
1 => single layer (normal image)
>=2 => multiple layers (animated image)
- hasZerolayer()
- image.layerOffsetInBytes(), the byte offset between layers
- image.hasZeroLayer() or image.hasOneLayer() or image.hasMultipleLayers() => one of those is true if the image is valid.
- there is a GAMUT_MAX_IMAGE_LAYERS
Still a lot to do in Issue #56, but this shoud be 100% backwards compatible.
The goal is GIF export for now.
layers()
call return correct value.int layerOffsetInBytes() pure const
The text was updated successfully, but these errors were encountered: