ImageProperties.fromMagickOutput constructor
ImageProperties.fromMagickOutput(
- String s
Implementation
ImageProperties.fromMagickOutput(String s)
: format = MediaFormat.fromExtensionOrType(s.split(" ")[1]),
width = int.parse(s.split(" ")[2].split("x")[0]),
height = int.parse(s.split(" ")[2].split("x")[1]),
colorSpace = s.split(" ")[5];