Check if image has vector paths with imageMagick (not only clipping paths)Better way to check if a Path is a File or a Directory?Use ImageMagick to place an image inside a larger canvasHow to get only the last part of a path in Python?“Diff” an image using ImageMagickImageMagick: scale JPEG image with a maximum file-sizeNode.js check if path is file or directoryDisplay current path in terminal onlyCalling ImageMagick convert from Java with runtime execClean Monocrome image with Imagemagik in iOSimagemagick jaggy edges with clipping path
Should I tell my insurance company I'm making payments on my new car?
Impossible darts scores
Counting occurrence of words in table is slow
If temperature is related to average kinetic energy in an ideal gas, then does speeding up the gas container affect its temperature?
Averting Real Women Don’t Wear Dresses
Why isn’t the tax system continuous rather than bracketed?
Declining an offer to present a poster instead of a paper
Content builder HTTPS
Mount a folder with a space on Linux
What happens when your group is victim of a surprise attack but you can't be surprised?
How can I convince my reader that I will not use a certain trope?
Is it OK to bottle condition using previously contaminated bottles?
Is my Rep in Stack-Exchange Form?
How can I repair scratches on a painted French door?
Does Marvel have an equivalent of the Green Lantern?
Is there any reason to avoid sunglasses with blue lenses?
Using “sparkling” as a diminutive of “spark” in a poem
Swapping rooks in a 4x4 board
Why does adding parentheses prevent an error?
Why would people reject a god's purely beneficial blessing?
Is there a short way to compare many values mutually at same time without using multiple 'AND'-s?
Cascading Repair Costs following Blown Head Gasket on a 2004 Subaru Outback
What is this particular type of chord progression, common in classical music, called?
Intuitively, why does putting capacitors in series decrease the equivalent capacitance?
Check if image has vector paths with imageMagick (not only clipping paths)
Better way to check if a Path is a File or a Directory?Use ImageMagick to place an image inside a larger canvasHow to get only the last part of a path in Python?“Diff” an image using ImageMagickImageMagick: scale JPEG image with a maximum file-sizeNode.js check if path is file or directoryDisplay current path in terminal onlyCalling ImageMagick convert from Java with runtime execClean Monocrome image with Imagemagik in iOSimagemagick jaggy edges with clipping path
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I found this to check if image has clipping path :
http://www.imagemagick.org/discourse-server/viewtopic.php?t=22044
identify -verbose "$infile" | grep "Clipping path:"
However some images can contain vector paths but because they are not set as clipping path, the former command "fails". As a matter of fact, I end up with false negative.
I have found everywhere but couldn't find any instructions to check at any existing path regardless of if there are clipping path or not. Is it a deadend ?
I put a download link for demoing such a file : http://dl.free.fr/o4WfEpCQR
path imagemagick command-line-interface
|
show 3 more comments
I found this to check if image has clipping path :
http://www.imagemagick.org/discourse-server/viewtopic.php?t=22044
identify -verbose "$infile" | grep "Clipping path:"
However some images can contain vector paths but because they are not set as clipping path, the former command "fails". As a matter of fact, I end up with false negative.
I have found everywhere but couldn't find any instructions to check at any existing path regardless of if there are clipping path or not. Is it a deadend ?
I put a download link for demoing such a file : http://dl.free.fr/o4WfEpCQR
path imagemagick command-line-interface
Clipping paths can also be in the 8bim profile. See imagemagick.org/Usage/masking/#clip
– fmw42
Mar 25 at 17:18
Thanks a lot. I saw that but when I execute the command, I get this error message : identify: unknown image property "%[8BIM:1999,2998:#1]" @ warning/property.c/InterpretImageProperties/3599. I am presuming this i sbecause I use this agains a jpg file while doc claims it's for tiff.
– Loic
Mar 25 at 17:38
Does the JPG show an 8bim when doing identify -verbose on it? If not, then that would be the case. Not all vector paths are readily available. Some are hidden in proprietary locations. The only places that I know ImageMagick can extract them are from the identify -verbose for an SVG clipping path or in the 8bim profile. There may be others for which I am unaware.
– fmw42
Mar 26 at 0:42
Thanks @fmw42 It's likely related indeed. I can see this piece of data: "Profile-8bim: 5118 bytes" yet no clipping path defined in the verbose text. I also checked with a known for certain file with no opaths at all and the "Profile-8bim: …" doesn't appear. Would you think it would mean a path if present even if not set as clipping path ?
– Loic
Mar 26 at 13:06
I am not an expert on PSD files. However, I looked at your file in Photoshop and it seems to has a path. But I do not think it is a clipping path. It looks like a simple draw path. If you want further information regarding clipping paths in ImageMagick, then I suggest you post to the ImageMagick Discourse server forum at imagemagick.org/discourse-server. Note that Photoshop is notorious for hiding information in strange places that may not always be easily accessed. Your file has 8bim, psd:additional-info, and xmp profiles. The path may be in any of these.
– fmw42
Mar 26 at 19:12
|
show 3 more comments
I found this to check if image has clipping path :
http://www.imagemagick.org/discourse-server/viewtopic.php?t=22044
identify -verbose "$infile" | grep "Clipping path:"
However some images can contain vector paths but because they are not set as clipping path, the former command "fails". As a matter of fact, I end up with false negative.
I have found everywhere but couldn't find any instructions to check at any existing path regardless of if there are clipping path or not. Is it a deadend ?
I put a download link for demoing such a file : http://dl.free.fr/o4WfEpCQR
path imagemagick command-line-interface
I found this to check if image has clipping path :
http://www.imagemagick.org/discourse-server/viewtopic.php?t=22044
identify -verbose "$infile" | grep "Clipping path:"
However some images can contain vector paths but because they are not set as clipping path, the former command "fails". As a matter of fact, I end up with false negative.
I have found everywhere but couldn't find any instructions to check at any existing path regardless of if there are clipping path or not. Is it a deadend ?
I put a download link for demoing such a file : http://dl.free.fr/o4WfEpCQR
identify -verbose "$infile" | grep "Clipping path:"
identify -verbose "$infile" | grep "Clipping path:"
path imagemagick command-line-interface
path imagemagick command-line-interface
asked Mar 25 at 10:59
LoicLoic
2,0366 silver badges12 bronze badges
2,0366 silver badges12 bronze badges
Clipping paths can also be in the 8bim profile. See imagemagick.org/Usage/masking/#clip
– fmw42
Mar 25 at 17:18
Thanks a lot. I saw that but when I execute the command, I get this error message : identify: unknown image property "%[8BIM:1999,2998:#1]" @ warning/property.c/InterpretImageProperties/3599. I am presuming this i sbecause I use this agains a jpg file while doc claims it's for tiff.
– Loic
Mar 25 at 17:38
Does the JPG show an 8bim when doing identify -verbose on it? If not, then that would be the case. Not all vector paths are readily available. Some are hidden in proprietary locations. The only places that I know ImageMagick can extract them are from the identify -verbose for an SVG clipping path or in the 8bim profile. There may be others for which I am unaware.
– fmw42
Mar 26 at 0:42
Thanks @fmw42 It's likely related indeed. I can see this piece of data: "Profile-8bim: 5118 bytes" yet no clipping path defined in the verbose text. I also checked with a known for certain file with no opaths at all and the "Profile-8bim: …" doesn't appear. Would you think it would mean a path if present even if not set as clipping path ?
– Loic
Mar 26 at 13:06
I am not an expert on PSD files. However, I looked at your file in Photoshop and it seems to has a path. But I do not think it is a clipping path. It looks like a simple draw path. If you want further information regarding clipping paths in ImageMagick, then I suggest you post to the ImageMagick Discourse server forum at imagemagick.org/discourse-server. Note that Photoshop is notorious for hiding information in strange places that may not always be easily accessed. Your file has 8bim, psd:additional-info, and xmp profiles. The path may be in any of these.
– fmw42
Mar 26 at 19:12
|
show 3 more comments
Clipping paths can also be in the 8bim profile. See imagemagick.org/Usage/masking/#clip
– fmw42
Mar 25 at 17:18
Thanks a lot. I saw that but when I execute the command, I get this error message : identify: unknown image property "%[8BIM:1999,2998:#1]" @ warning/property.c/InterpretImageProperties/3599. I am presuming this i sbecause I use this agains a jpg file while doc claims it's for tiff.
– Loic
Mar 25 at 17:38
Does the JPG show an 8bim when doing identify -verbose on it? If not, then that would be the case. Not all vector paths are readily available. Some are hidden in proprietary locations. The only places that I know ImageMagick can extract them are from the identify -verbose for an SVG clipping path or in the 8bim profile. There may be others for which I am unaware.
– fmw42
Mar 26 at 0:42
Thanks @fmw42 It's likely related indeed. I can see this piece of data: "Profile-8bim: 5118 bytes" yet no clipping path defined in the verbose text. I also checked with a known for certain file with no opaths at all and the "Profile-8bim: …" doesn't appear. Would you think it would mean a path if present even if not set as clipping path ?
– Loic
Mar 26 at 13:06
I am not an expert on PSD files. However, I looked at your file in Photoshop and it seems to has a path. But I do not think it is a clipping path. It looks like a simple draw path. If you want further information regarding clipping paths in ImageMagick, then I suggest you post to the ImageMagick Discourse server forum at imagemagick.org/discourse-server. Note that Photoshop is notorious for hiding information in strange places that may not always be easily accessed. Your file has 8bim, psd:additional-info, and xmp profiles. The path may be in any of these.
– fmw42
Mar 26 at 19:12
Clipping paths can also be in the 8bim profile. See imagemagick.org/Usage/masking/#clip
– fmw42
Mar 25 at 17:18
Clipping paths can also be in the 8bim profile. See imagemagick.org/Usage/masking/#clip
– fmw42
Mar 25 at 17:18
Thanks a lot. I saw that but when I execute the command, I get this error message : identify: unknown image property "%[8BIM:1999,2998:#1]" @ warning/property.c/InterpretImageProperties/3599. I am presuming this i sbecause I use this agains a jpg file while doc claims it's for tiff.
– Loic
Mar 25 at 17:38
Thanks a lot. I saw that but when I execute the command, I get this error message : identify: unknown image property "%[8BIM:1999,2998:#1]" @ warning/property.c/InterpretImageProperties/3599. I am presuming this i sbecause I use this agains a jpg file while doc claims it's for tiff.
– Loic
Mar 25 at 17:38
Does the JPG show an 8bim when doing identify -verbose on it? If not, then that would be the case. Not all vector paths are readily available. Some are hidden in proprietary locations. The only places that I know ImageMagick can extract them are from the identify -verbose for an SVG clipping path or in the 8bim profile. There may be others for which I am unaware.
– fmw42
Mar 26 at 0:42
Does the JPG show an 8bim when doing identify -verbose on it? If not, then that would be the case. Not all vector paths are readily available. Some are hidden in proprietary locations. The only places that I know ImageMagick can extract them are from the identify -verbose for an SVG clipping path or in the 8bim profile. There may be others for which I am unaware.
– fmw42
Mar 26 at 0:42
Thanks @fmw42 It's likely related indeed. I can see this piece of data: "Profile-8bim: 5118 bytes" yet no clipping path defined in the verbose text. I also checked with a known for certain file with no opaths at all and the "Profile-8bim: …" doesn't appear. Would you think it would mean a path if present even if not set as clipping path ?
– Loic
Mar 26 at 13:06
Thanks @fmw42 It's likely related indeed. I can see this piece of data: "Profile-8bim: 5118 bytes" yet no clipping path defined in the verbose text. I also checked with a known for certain file with no opaths at all and the "Profile-8bim: …" doesn't appear. Would you think it would mean a path if present even if not set as clipping path ?
– Loic
Mar 26 at 13:06
I am not an expert on PSD files. However, I looked at your file in Photoshop and it seems to has a path. But I do not think it is a clipping path. It looks like a simple draw path. If you want further information regarding clipping paths in ImageMagick, then I suggest you post to the ImageMagick Discourse server forum at imagemagick.org/discourse-server. Note that Photoshop is notorious for hiding information in strange places that may not always be easily accessed. Your file has 8bim, psd:additional-info, and xmp profiles. The path may be in any of these.
– fmw42
Mar 26 at 19:12
I am not an expert on PSD files. However, I looked at your file in Photoshop and it seems to has a path. But I do not think it is a clipping path. It looks like a simple draw path. If you want further information regarding clipping paths in ImageMagick, then I suggest you post to the ImageMagick Discourse server forum at imagemagick.org/discourse-server. Note that Photoshop is notorious for hiding information in strange places that may not always be easily accessed. Your file has 8bim, psd:additional-info, and xmp profiles. The path may be in any of these.
– fmw42
Mar 26 at 19:12
|
show 3 more comments
0
active
oldest
votes
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%2f55336298%2fcheck-if-image-has-vector-paths-with-imagemagick-not-only-clipping-paths%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f55336298%2fcheck-if-image-has-vector-paths-with-imagemagick-not-only-clipping-paths%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
Clipping paths can also be in the 8bim profile. See imagemagick.org/Usage/masking/#clip
– fmw42
Mar 25 at 17:18
Thanks a lot. I saw that but when I execute the command, I get this error message : identify: unknown image property "%[8BIM:1999,2998:#1]" @ warning/property.c/InterpretImageProperties/3599. I am presuming this i sbecause I use this agains a jpg file while doc claims it's for tiff.
– Loic
Mar 25 at 17:38
Does the JPG show an 8bim when doing identify -verbose on it? If not, then that would be the case. Not all vector paths are readily available. Some are hidden in proprietary locations. The only places that I know ImageMagick can extract them are from the identify -verbose for an SVG clipping path or in the 8bim profile. There may be others for which I am unaware.
– fmw42
Mar 26 at 0:42
Thanks @fmw42 It's likely related indeed. I can see this piece of data: "Profile-8bim: 5118 bytes" yet no clipping path defined in the verbose text. I also checked with a known for certain file with no opaths at all and the "Profile-8bim: …" doesn't appear. Would you think it would mean a path if present even if not set as clipping path ?
– Loic
Mar 26 at 13:06
I am not an expert on PSD files. However, I looked at your file in Photoshop and it seems to has a path. But I do not think it is a clipping path. It looks like a simple draw path. If you want further information regarding clipping paths in ImageMagick, then I suggest you post to the ImageMagick Discourse server forum at imagemagick.org/discourse-server. Note that Photoshop is notorious for hiding information in strange places that may not always be easily accessed. Your file has 8bim, psd:additional-info, and xmp profiles. The path may be in any of these.
– fmw42
Mar 26 at 19:12