Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Long story short I need to decode to raw RGB in order to encode to Av1 then decode it back to a workable file (testing new tech) and I just need to know if this is the correct way to decode a png to raw RGB:
fmw42 wrote: ↑2019-05-02T11:01:40-07:00
You need to know the size only when reading the raw RGB file. You will also need to know the depth when reading it. See https://imagemagick.org/Usage/formats/#rgb
Perhaps I should add that "-colorspace RGB" will convert (presumably from non-linear sRGB) to linear RGB. That's fine, if that's what you want, but it may not be.