RSS/Atom feed Twitter
Site is read-only, email is disabled

Saving .psd file

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

Saving .psd file Kate Yoak 18 Jan 08:26
  Saving .psd file Sven Neumann 18 Jan 11:54
Kate Yoak
2009-01-18 08:26:55 UTC (about 16 years ago)

Saving .psd file

I am getting close now! Everything is working beautifully, thanks for all the help.

I am having a problem saving a .psd file. Actually, the problem is opening the just-saved .psd

Here are two lines: my $img = gimp_file_load(RUN_NONINTERACTIVE, $in, $in); gimp_file_save(RUN_NONINTERACTIVE, $img, gimp_image_get_active_drawable($img), $out, $out);

One opens a psd file, the other immediately writes it out. In the server log, I get

PSD: Stern warning - no mask info.

I am sure that's a clue. If I try to re-open the file by the same script, or by my local install of Gimp, I get

PSD: unexpected EOF while reading 'layer top' chunk

=============== One thought that I had was - why do I pass a drawable in when I am trying to write a psd file?! I tried passing in an undef and got the same results. Drawable is probably just ignored. Beyond that, I have no interesting ideas...

Humble thanks one more time! Kate

Sven Neumann
2009-01-18 11:54:38 UTC (about 16 years ago)

Saving .psd file

Hi,

On Sat, 2009-01-17 at 23:26 -0800, Kate Yoak wrote:

I am having a problem saving a .psd file. Actually, the problem is opening the just-saved .psd

There have been lots of improvements and bug-fixes in the PSD load and save plug-ins over the last years. If you insist on using GIMP 2.2, then you probably hit one of those bugs and are on your own now. We can only support users of GIMP 2.6.

Sven