ImageMagic | JMagick | Transparent Image
Is there a way in Jmagick to make a png image transparent?
Input: A PNG image
Output: A transparent PNG image
I want the background of an image to be transparent.
imagemagick jmagick
add a comment |
Is there a way in Jmagick to make a png image transparent?
Input: A PNG image
Output: A transparent PNG image
I want the background of an image to be transparent.
imagemagick jmagick
What do you mean by making it transparent? Do you want the whole image to be fully transparent? Do you want just part of the image to fully transparent? If the latter which parts. Perhaps you should provide your image and explain what part you want transparent. In ImageMagick command line to turn some color to transparent, the command wouldconvert image -fuzz XX% -transparent somecolor result
, where XX% is some percent near the color that you want to include. Sorry, I do not know Jmagick. See transparentImage at jmagick.org/jmagick-doc
– fmw42
Nov 14 '18 at 4:22
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
It would help to see your input image! What is the current background? Is it a constant color? Is it some other texture or general image? We cannot help with such little information. There are too many ways to do that, which depend on the image content.
– fmw42
Nov 15 '18 at 6:38
add a comment |
Is there a way in Jmagick to make a png image transparent?
Input: A PNG image
Output: A transparent PNG image
I want the background of an image to be transparent.
imagemagick jmagick
Is there a way in Jmagick to make a png image transparent?
Input: A PNG image
Output: A transparent PNG image
I want the background of an image to be transparent.
imagemagick jmagick
imagemagick jmagick
edited Nov 15 '18 at 4:08
PKJ
asked Nov 14 '18 at 3:48
PKJPKJ
122110
122110
What do you mean by making it transparent? Do you want the whole image to be fully transparent? Do you want just part of the image to fully transparent? If the latter which parts. Perhaps you should provide your image and explain what part you want transparent. In ImageMagick command line to turn some color to transparent, the command wouldconvert image -fuzz XX% -transparent somecolor result
, where XX% is some percent near the color that you want to include. Sorry, I do not know Jmagick. See transparentImage at jmagick.org/jmagick-doc
– fmw42
Nov 14 '18 at 4:22
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
It would help to see your input image! What is the current background? Is it a constant color? Is it some other texture or general image? We cannot help with such little information. There are too many ways to do that, which depend on the image content.
– fmw42
Nov 15 '18 at 6:38
add a comment |
What do you mean by making it transparent? Do you want the whole image to be fully transparent? Do you want just part of the image to fully transparent? If the latter which parts. Perhaps you should provide your image and explain what part you want transparent. In ImageMagick command line to turn some color to transparent, the command wouldconvert image -fuzz XX% -transparent somecolor result
, where XX% is some percent near the color that you want to include. Sorry, I do not know Jmagick. See transparentImage at jmagick.org/jmagick-doc
– fmw42
Nov 14 '18 at 4:22
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
It would help to see your input image! What is the current background? Is it a constant color? Is it some other texture or general image? We cannot help with such little information. There are too many ways to do that, which depend on the image content.
– fmw42
Nov 15 '18 at 6:38
What do you mean by making it transparent? Do you want the whole image to be fully transparent? Do you want just part of the image to fully transparent? If the latter which parts. Perhaps you should provide your image and explain what part you want transparent. In ImageMagick command line to turn some color to transparent, the command would
convert image -fuzz XX% -transparent somecolor result
, where XX% is some percent near the color that you want to include. Sorry, I do not know Jmagick. See transparentImage at jmagick.org/jmagick-doc– fmw42
Nov 14 '18 at 4:22
What do you mean by making it transparent? Do you want the whole image to be fully transparent? Do you want just part of the image to fully transparent? If the latter which parts. Perhaps you should provide your image and explain what part you want transparent. In ImageMagick command line to turn some color to transparent, the command would
convert image -fuzz XX% -transparent somecolor result
, where XX% is some percent near the color that you want to include. Sorry, I do not know Jmagick. See transparentImage at jmagick.org/jmagick-doc– fmw42
Nov 14 '18 at 4:22
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
It would help to see your input image! What is the current background? Is it a constant color? Is it some other texture or general image? We cannot help with such little information. There are too many ways to do that, which depend on the image content.
– fmw42
Nov 15 '18 at 6:38
It would help to see your input image! What is the current background? Is it a constant color? Is it some other texture or general image? We cannot help with such little information. There are too many ways to do that, which depend on the image content.
– fmw42
Nov 15 '18 at 6:38
add a comment |
1 Answer
1
active
oldest
votes
Your question is quite unclear, but if you mean you want to ensure that a PNG image is saved with an alpha/transparency layer, then all you need to do is prefix the output filename with PNG32:
. In the Terminal, that looks like this:
magick input.png PNG32:output.png
If you mean something else, please click edit
under your question and clarify.
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53292923%2fimagemagic-jmagick-transparent-image%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your question is quite unclear, but if you mean you want to ensure that a PNG image is saved with an alpha/transparency layer, then all you need to do is prefix the output filename with PNG32:
. In the Terminal, that looks like this:
magick input.png PNG32:output.png
If you mean something else, please click edit
under your question and clarify.
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
add a comment |
Your question is quite unclear, but if you mean you want to ensure that a PNG image is saved with an alpha/transparency layer, then all you need to do is prefix the output filename with PNG32:
. In the Terminal, that looks like this:
magick input.png PNG32:output.png
If you mean something else, please click edit
under your question and clarify.
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
add a comment |
Your question is quite unclear, but if you mean you want to ensure that a PNG image is saved with an alpha/transparency layer, then all you need to do is prefix the output filename with PNG32:
. In the Terminal, that looks like this:
magick input.png PNG32:output.png
If you mean something else, please click edit
under your question and clarify.
Your question is quite unclear, but if you mean you want to ensure that a PNG image is saved with an alpha/transparency layer, then all you need to do is prefix the output filename with PNG32:
. In the Terminal, that looks like this:
magick input.png PNG32:output.png
If you mean something else, please click edit
under your question and clarify.
answered Nov 14 '18 at 7:53
Mark SetchellMark Setchell
88.8k677176
88.8k677176
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
add a comment |
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53292923%2fimagemagic-jmagick-transparent-image%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What do you mean by making it transparent? Do you want the whole image to be fully transparent? Do you want just part of the image to fully transparent? If the latter which parts. Perhaps you should provide your image and explain what part you want transparent. In ImageMagick command line to turn some color to transparent, the command would
convert image -fuzz XX% -transparent somecolor result
, where XX% is some percent near the color that you want to include. Sorry, I do not know Jmagick. See transparentImage at jmagick.org/jmagick-doc– fmw42
Nov 14 '18 at 4:22
I want the background of an image to be transparent. Updated my original question.
– PKJ
Nov 15 '18 at 4:11
It would help to see your input image! What is the current background? Is it a constant color? Is it some other texture or general image? We cannot help with such little information. There are too many ways to do that, which depend on the image content.
– fmw42
Nov 15 '18 at 6:38