Interesting reply: i completely forgot the entire ppm issue.
Well, then i will try to go back to tiff, or some other format.
Thanks!
Search found 25 matches
- 2010-07-09T02:25:17-07:00
- Forum: Users
- Topic: Density (PPI) problems
- Replies: 2
- Views: 9713
- 2010-07-08T15:38:04-07:00
- Forum: Users
- Topic: Density (PPI) problems
- Replies: 2
- Views: 9713
Density (PPI) problems
It's just that easy.
I do have a png input file (file.png), which is a 720 PPI one.
If i try these simple commands:
convert file.png file2.png
convert file.png -units PixelsPerInch -density 720 file2.png
By opening file2.png in Photoshop, it reports the resolution of the file is 719,988 pixels ...
I do have a png input file (file.png), which is a 720 PPI one.
If i try these simple commands:
convert file.png file2.png
convert file.png -units PixelsPerInch -density 720 file2.png
By opening file2.png in Photoshop, it reports the resolution of the file is 719,988 pixels ...
- 2010-05-05T04:01:56-07:00
- Forum: Users
- Topic: Count number of unique colors minus transparent one
- Replies: 11
- Views: 27117
Re: Count number of unique colors minus transparent one
Many thanks to Anthony and fmw42 for this interesting discussion!
For various reasons, in my servers i'm forced to use IM version 6.4.4 Q16. So, i can't use the beautyful "-alpha background" option.
However, considering i have to script it, i found a "quick and dirty" way out.
First, i create a ...
For various reasons, in my servers i'm forced to use IM version 6.4.4 Q16. So, i can't use the beautyful "-alpha background" option.
However, considering i have to script it, i found a "quick and dirty" way out.
First, i create a ...
- 2010-05-04T16:10:06-07:00
- Forum: Users
- Topic: Count number of unique colors minus transparent one
- Replies: 11
- Views: 27117
Re: Count number of unique colors minus transparent one
Looks interesting and promising!
I will do some tests. Will post again with results ASAP.
Thanks!
I will do some tests. Will post again with results ASAP.
Thanks!
- 2010-05-04T15:38:11-07:00
- Forum: Users
- Topic: Count number of unique colors minus transparent one
- Replies: 11
- Views: 27117
Re: Count number of unique colors minus transparent one
fmw42,
Thanks for your reply.
Unfortunately i had already tried those solutions, but with no luck.
Actually, the %A returns true or false: i just don't know if it's about the alpha channel being used, or only about the alpha channel being present.
In any case, it returns TRUE even if i try to ...
Thanks for your reply.
Unfortunately i had already tried those solutions, but with no luck.
Actually, the %A returns true or false: i just don't know if it's about the alpha channel being used, or only about the alpha channel being present.
In any case, it returns TRUE even if i try to ...
- 2010-05-04T03:26:29-07:00
- Forum: Users
- Topic: Count number of unique colors minus transparent one
- Replies: 11
- Views: 27117
Count number of unique colors minus transparent one
Hello,
I have a (perhaps) simple question, but i wasn't able to find a solution yet.
In a script i made, to get the number of unique colors of an image, i'm currently using this command:
identify +antialias -format "%k" myfile.png
For a pure B/W image with transparent white, the command ...
I have a (perhaps) simple question, but i wasn't able to find a solution yet.
In a script i made, to get the number of unique colors of an image, i'm currently using this command:
identify +antialias -format "%k" myfile.png
For a pure B/W image with transparent white, the command ...
- 2008-09-10T16:20:40-07:00
- Forum: Bugs
- Topic: SVG reading problems in 6.4.2 and 6.4.3
- Replies: 6
- Views: 17772
Re: SVG reading problems in 6.4.2 and 6.4.3
identify -list configure
Path: /usr/lib/ImageMagick-6.4.3/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -O3 -g -Wall -W -pthread -Wall -W
CONFIGURE @CONFIGURE_ARGS@
COPYRIGHT Copyright (C) 1999-2008 ...
Path: /usr/lib/ImageMagick-6.4.3/config/configure.xml
Name Value
-------------------------------------------------------------------------------
CC gcc -std=gnu99
CFLAGS -fopenmp -O3 -g -Wall -W -pthread -Wall -W
CONFIGURE @CONFIGURE_ARGS@
COPYRIGHT Copyright (C) 1999-2008 ...
- 2008-09-10T16:05:11-07:00
- Forum: Bugs
- Topic: SVG reading problems in 6.4.2 and 6.4.3
- Replies: 6
- Views: 17772
Re: SVG reading problems in 6.4.2 and 6.4.3
I am doing the very same, using the latest version as well.
I am on a fedora system, and i tried identify on 7077.svg using 3 different versions.
If this may help, when i change version the command i use is simply:
rpm -Uhv --force --nodeps ImageMagick*
where ImageMagick* are base, perl, devel and ...
I am on a fedora system, and i tried identify on 7077.svg using 3 different versions.
If this may help, when i change version the command i use is simply:
rpm -Uhv --force --nodeps ImageMagick*
where ImageMagick* are base, perl, devel and ...
- 2008-09-10T10:31:43-07:00
- Forum: Bugs
- Topic: SVG reading problems in 6.4.2 and 6.4.3
- Replies: 6
- Views: 17772
SVG reading problems in 6.4.2 and 6.4.3
All details and a test file available in this thread:
viewtopic.php?f=1&t=12018
viewtopic.php?f=1&t=12018
- 2008-09-10T03:09:44-07:00
- Forum: Users
- Topic: Serious issues with SVG files handling
- Replies: 3
- Views: 11401
Re: Serious issues with SVG files handling
Thank you very much, i'll wait for news from there
- 2008-09-09T02:09:15-07:00
- Forum: Users
- Topic: Serious issues with SVG files handling
- Replies: 3
- Views: 11401
Re: Serious issues with SVG files handling
I tried with both MSVG and RSVG, anyhow generally i use MSVG.
At the end, what i need is to determine the size of an SVG file, given the DPI. SVG files are provided by users, so i cannot know in advance the size them have.
If i add the -size option to the identify command, i simply get, as width ...
At the end, what i need is to determine the size of an SVG file, given the DPI. SVG files are provided by users, so i cannot know in advance the size them have.
If i add the -size option to the identify command, i simply get, as width ...
- 2008-09-08T02:14:35-07:00
- Forum: Users
- Topic: Serious issues with SVG files handling
- Replies: 3
- Views: 11401
Serious issues with SVG files handling
Hello.
I'm experiencing huge problems with SVG files.
First of all, some infos on my actual versions (btw, i tried also with the very latest one, and all the issues are exactly the same)
convert --version
Version: ImageMagick 6.4.2 08/02/08 Q16 OpenMP http://www.imagemagick.org
Copyright ...
I'm experiencing huge problems with SVG files.
First of all, some infos on my actual versions (btw, i tried also with the very latest one, and all the issues are exactly the same)
convert --version
Version: ImageMagick 6.4.2 08/02/08 Q16 OpenMP http://www.imagemagick.org
Copyright ...
- 2008-07-18T14:47:51-07:00
- Forum: Users
- Topic: version 6.4.2-3 "CPU hog" with GIF files?
- Replies: 6
- Views: 16871
Re: version 6.4.2-3 "CPU hog" with GIF files?
Thank you for the additional infos.
- 2008-07-18T10:10:11-07:00
- Forum: Users
- Topic: version 6.4.2-3 "CPU hog" with GIF files?
- Replies: 6
- Views: 16871
Re: version 6.4.2-3 "CPU hog" with GIF files?
I will try, thank you for the hint.
Anyhow wow... the improved algorithm needs so much power also for small images?
Anyhow wow... the improved algorithm needs so much power also for small images?
- 2008-07-18T09:58:49-07:00
- Forum: Users
- Topic: version 6.4.2-3 "CPU hog" with GIF files?
- Replies: 6
- Views: 16871
Re: version 6.4.2-3 "CPU hog" with GIF files?
Thank you for your reply, but the point is different.
The GIF bug was in 6.4.2-1, i already know it's now fixed (as i wrote, i updated to 6.4.2-3 precisely because of this).
What i'm talking about is not properly an issue, but a question about the latest GIF implementation.
With the 6.4.2-3 i've ...
The GIF bug was in 6.4.2-1, i already know it's now fixed (as i wrote, i updated to 6.4.2-3 precisely because of this).
What i'm talking about is not properly an issue, but a question about the latest GIF implementation.
With the 6.4.2-3 i've ...