Is there a way in getting this sizes? Using command line. Thanks in advance. and can I ask something good tutorials in Dart?
Asked
Active
Viewed 1,536 times
2 Answers
2
I don't know a built-in feature that allows to do that except readying the content byte-wise and interpreting the values like explained for C++ in C++ How to get the Image size of a png file (in directory)
The image package seems to provide this functionality though. decodePng returns an image that has a width and height property.

Community
- 1
- 1

Günter Zöchbauer
- 623,577
- 216
- 2,003
- 1,567
2
The build-in function decodeImageFromList()
can help you with that. Its callback contains an Image
that includes the width and height.

Hugo Passos
- 7,719
- 2
- 35
- 52