mdboom / pytoshop

Library for reading and writing Photoshop PSD and PSB files
Other
119 stars 23 forks source link

error display " Calling error for procedure 'gimp-item-set-name' " when open psd data in GIMP #17

Open hatano0x06 opened 6 years ago

hatano0x06 commented 6 years ago

Description

I want to create psd from base64 png data. This is repository that I used pytoshop to create psd data from base64 png data. https://github.com/hatano0x06/pytoshop-test/tree/master

I success to create psd! but I can open from photoshop. I can open by gimp but the error message is display. This is the error message

Calling error for procedure 'gimp-item-set-name':
Procedure 'gimp-item-set-name' has been called with value '(null)' for argument 'name' (#2, type gchararray). This value is out of range.

I`m thinking if I solve this error, I can open in photoshop too.

Do you have some idea to solve this ploblem?

What I Did

I run my program by python3 base64Png_2_psd.py

P.S. This is really great code!! I am very helpful !! Is there a way to donate to you ?

mdboom commented 6 years ago

If it opens in Photoshop, but not in the GIMP, that seems like a GIMP bug to me. GIMP's Photoshop reading support is not complete -- it doesn't support all features. Maybe try reporting that in GIMP's issue tracker?

hatano0x06 commented 6 years ago

Sorry I think I put miss information to you. I cannot open by photoshop I can open by GIMP but the error message will display

This is the file that I cannot open by photoshop. You can try it what will happen. https://github.com/hatano0x06/pytoshop-test/blob/master/output.psd

I think it will like this( Sorry for the japanese message. It displaying "the program error has occurred. Cannot complete the operation")

error-photo