Closed soywiz closed 7 years ago
@SergeyLabutin this provides a filter |image_info. You can use it with a File, a ByteArray (contents) or a String (local path of a file). Test shows how to use it: https://github.com/jtransc/jtransc/pull/195/commits/ed6092659fba7e1a0b948d1995293b341e05ec53#diff-dd82426a9b94d700d048654d6b894effR100
|image_info
You should use something like this:
{% set image = imagePath|image_info %} <yyy path="{{ imagePath }}" width="{{ image.width }}" height="{{ image.height }}">
@SergeyLabutin this provides a filter
|image_info
. You can use it with a File, a ByteArray (contents) or a String (local path of a file). Test shows how to use it: https://github.com/jtransc/jtransc/pull/195/commits/ed6092659fba7e1a0b948d1995293b341e05ec53#diff-dd82426a9b94d700d048654d6b894effR100You should use something like this: