Giter Club home page Giter Club logo

Comments (5)

alessandrofrancesconi avatar alessandrofrancesconi commented on August 23, 2024

Actually it works for me, in particular on images that don't have a "native" alpha layer. Maybe you are saving them back to JPEG (or equivalent non-alpha) format?

This is a JPEG input image, obviously without transparency:
http://i39.tinypic.com/2ia7h1f.jpg

I put it on my batch process and select the plug-in-colortoalpha with #FFF as color to remove. ALSO, I add a Change format step in order to save it on PNG.
http://i42.tinypic.com/jhd3lw.jpg

The result is the following:
http://i43.tinypic.com/1493xon.jpg

And this is what happens if I don't include the Change format step, the image is saved back to JPEG and loses the alpha channel:
http://i44.tinypic.com/2wf3389.jpg

(sorry for the images size, I noticed just now)

from gimp-plugin-bimp.

Luke-SF avatar Luke-SF commented on August 23, 2024

Please reopen - this actually only works if you add 'gimp-convert-rgb' before the color to alpha.

This is happening on Windows7, Gimp 2.8.6.

from gimp-plugin-bimp.

alessandrofrancesconi avatar alessandrofrancesconi commented on August 23, 2024

This is not actually true, or better, in the example I wrote before I didn't add a 'gimp-convert-rgb' step and it worked.
Your problem could be realed to the type of images you are using as input. In order to work with transparency, the input format must be RGB.
You probably see a strange behaviour because you are passing on BIMP a grayscale or indexed image, and it naturally needs to be converted before by GIMP. I don't see it as a real "issue"...

Anyway, could you send me one of the images that produce this problem?

from gimp-plugin-bimp.

Luke-SF avatar Luke-SF commented on August 23, 2024

You can see that on these: https://github.com/subtlepatterns/SubtlePatterns

from gimp-plugin-bimp.

alessandrofrancesconi avatar alessandrofrancesconi commented on August 23, 2024

Yes, I see. Those images (I've tried with only few of them, btw) are in "grayscale" format. That means that they haven't any alpha channel and the 'plug-in-colortoalpha' doesn't support them as input. They must be converted in RGB before and this is the case in which you have to use 'gimp-convert-rgb'.
Its not a bug, it's GIMP itself ;)

from gimp-plugin-bimp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.