2 Newbie Questions: Transparent PNG and Background Color

Hello community,

I have 2 beginner’s question regarding Natron.

  1. I have a PNG with transparent areas in it. I would like to use it as a graphical object, applying effects (for example dropshadow) to it. Is that possible in Natron, to use PNG with Alpha Channel as a graphical object?

  2. I can’t seem to have that PNG + Alpha Channel to be on top of a solid background, part of the PNG Image gets cut off. Is the problem the encoding? PNG comes out of Blender.

Thank you for your time.

Pics?

I got it to work. Reason why it didn’t work before, was a messed up xcf-file.

By the way, Natron doesn’t read newest GIMP XCF File (GIMP 2.10.10) with its read-node.
Can you confirm that?

Natron (the ReadPSD node) uses ImageMagick to read XCF/PSD images/layers. The ImageMagick version distributed with Natron 2.3.14 does not support XCF files from 2.10. I will however make sure the next version of Natron has updated support for Gimp.

I tested ImageMagick 7.0.8-51 on Windows and can confirm that Gimp 2.10 is supported.

1 Like

I will need to downgrade ImageMagick to 6.9.10-52 since ImageMagick 7.0.8-* breaks other plugins in openfx-arena.

Since ImageMagick v6 is legacy it will not get new features. I will go through the v7 code and make a backport of the Gimp 2.10 support for v6.

I think you’d better go fixing the plugins, because that doesn’t seem like a very durable solution:

  • you’ll have to apply the patches in all SDKs
  • IM6 still gets patches, so your patches may break in the future

Will you packport to IM6 every single interesting feature from IM7?

Which plugins are broken?

I have backported the gimp changes to v6 already and can provide a patch. It’s only the xcf coder.

I will try to find the issue with v7 later this weekend. All the plugins worked fine in v7 earlier, so something has changed (in IM).

On another note I have finally got a working Windows SDK up-and-running. I had to use an older snapshot of MSYS2 to get a working toolchain.

1 Like

It breaks in 7.0.8-13, they did some modification to morphology. I’m testing if the plugin(s) or IM needs fixing.

EDIT: It’s a bug in IM.

w gvgdddg

Benjamin Röhling