Commit 83ab86eb authored by Jacob Boerema's avatar Jacob Boerema

plug-ins: fix #6279 Error loading PSD file: Unexpected end of file.

We were not handling all possible record sizes for mask info and
in case it was an unknown size we set everything to 0 instead
of reading the parts we do recognize.

Let's make it more flexible by reading the parts we do know
about and skip the remaining data if any.

Also added a few more g_debug statements to make it
easier to check some values when needed.
parent 823ae50c
Pipeline #247927 passed with stages
in 69 minutes and 56 seconds