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.
Showing