Jump to content

IncandescenceSy

Newbies
  • Posts

    2
  • Joined

  • Last visited

Everything posted by IncandescenceSy

  1. Awkwardly enough, the script started working even with images that made it crash before for no discernible reason, so I can't actually test this. Thank you for trying to help, though!
  2. After a recent update to paint.net, it seems that images are being saved in an image format called packed pixels (P) instead of RGBA. Attached are two images that appear to be the same; however, one is in P and the other is in RGBA. The reason that this is a problem is because I use a python script to manipulate images, and the python image library used crashes when it encounters an image in P format, meaning I have to use another python script to convert my images from P to RGBA first. Is there some way to fix this so images are output in RGBA? I looked through the settings, but I couldn't find anything. In case anyone else is having this problem and wants the fix I'm using, here's the script that converts from P to RGBA: from PIL import Image # Open the image in "P" mode img = Image.open('image_p.png') # Convert the image to "RGBA" mode img_rgba = img.convert('RGBA') # Save the converted image img_rgba.save('image_rgba.png')
×
×
  • Create New...