Skip to content
  • Jacob Boerema's avatar
    plug-ins: fix #6279 Error loading PSD file: Unexpected end of file. · 83ab86eb
    Jacob Boerema authored
    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.
    83ab86eb