sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25256
[Bug 1306396] Re: [request] image files having a transparent background should be supported somehow
one more thing:
I do not recommend, to use the conversion trail png -> jpeg -> png, because depending on the used options you may loose valuable image information, since jpeg generally is not lossless.
In most cases you will not get the original image content when
converting back to png.
So if you want to get rid of the transparency channel, simply convert
from png-with-transparency to png-without-transparency (in Preview just
switch off the respective option, when exporting the image - might be
possible with sips too)
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1306396
Title:
[request] image files having a transparent background should be
supported somehow
Status in Sikuli:
In Progress
Bug description:
from https://answers.launchpad.net/sikuli/+question/241355 comment
#10:
The other issue I run into when grabbing images from products or
source trees is that png's can (and often do) have transparent
backgrounds. You can convert those to jpeg's and back to png's using
sips, but they end up with a white background. If someone has a Mac
solution, without having to use ImageMagick or something else to be
downloaded, I'd be grateful for a solution.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1306396/+subscriptions
References