Search found 12163 matches

by snibgo
2019-10-08T05:47:27-07:00
Forum: Users
Topic: convert and gs results difference
Replies: 6
Views: 47679

Re: convert and gs results difference

left from gs, right from convert The resolution seems to be the same (caps height about 7 pixels) but the IM result is monochrome, black and white with no grays, hence the letters are aliased. The command you show "convert -verbose sample.pdf a.jpg" shouldn't remove grays. Can you link to...
by snibgo
2019-10-08T05:39:29-07:00
Forum: Users
Topic: Convert AI to PNG
Replies: 1
Views: 5184

Re: Convert AI to PNG

Yes. The best way of doing this will depend on a few factors. One method, assuming you have black marks on a white background, is to composite with an offset and "composite darken" so each output pixel is the darker of the input pixels. Something like: magick in.ai ( +clone ) -geometry +1+...
by snibgo
2019-10-08T05:34:26-07:00
Forum: Users
Topic: Color issue when compositing sRGB image over CMYK background and saving as CMYK
Replies: 5
Views: 45582

Re: Color issue when compositing sRGB image over CMYK background and saving as CMYK

Unless I'm misunderstanding something, that command seems to produce an RGB image, ... Sorry, my fault, I forgot a critical line, "-profile sRGB.icc" near the end. This is needed because the first image, canvas:#fff, doesn't have an embedded profile. So we have: magick sample-bg.jpg tmp.i...
by snibgo
2019-10-08T04:42:40-07:00
Forum: Users
Topic: convert and gs results difference
Replies: 6
Views: 47679

Re: convert and gs results difference

The two linked images are clearly from different documents, or different parts of the same document, so we don't know why they have different quality. They seem to be rasterized at different densities.

"-verbose" is useful to see what Ghostscript command IM is using.
by snibgo
2019-10-08T04:34:06-07:00
Forum: Users
Topic: Color issue when compositing sRGB image over CMYK background and saving as CMYK
Replies: 5
Views: 45582

Re: Color issue when compositing sRGB image over CMYK background and saving as CMYK

IM will happily composite images that are in different colorspaces, but this is usually not a good idea. You need to convert all inputs to the same colorspace before compositing them. In your case, I suggest converting to sRGB, then composite, then convert the result to CMYK. sample-bg.jpg has an em...
by snibgo
2019-10-07T14:51:49-07:00
Forum: Users
Topic: Image looks different after removing transparent space and scaled
Replies: 45
Views: 226913

Re: Image looks different after removing transparent space and scaled

Those two commands take two inputs and make two outputs.

You have linked to only one input and one output.

So, which command made that output from that input?
by snibgo
2019-10-07T14:23:07-07:00
Forum: Users
Topic: Image looks different after removing transparent space and scaled
Replies: 45
Views: 226913

Re: Image looks different after removing transparent space and scaled

Which of those two commands did you use to make that output from that input?
by snibgo
2019-10-07T13:55:11-07:00
Forum: Users
Topic: Image looks different after removing transparent space and scaled
Replies: 45
Views: 226913

Re: Image looks different after removing transparent space and scaled

Please link to input/output images that you think are wrong, with the command you used.
by snibgo
2019-10-07T13:29:18-07:00
Forum: Users
Topic: Image looks different after removing transparent space and scaled
Replies: 45
Views: 226913

Re: Image looks different after removing transparent space and scaled

so my question is there is no way to modify the command to fix this right? the only way to fix it is update my image magick version? What exactly needs fixing? Please link to input/output images that you think are wrong, with the command you used. The images you have linked don't use profiles, so I...
by snibgo
2019-10-06T20:36:02-07:00
Forum: Magick++
Topic: [SOLVED] Error when using Magick++: unknown type name 'ssize_t'
Replies: 8
Views: 57836

Re: Error when using Magick++: unknown type name 'ssize_t'

Okay, so the problem isn't in the source code, but in the building method. Sorry, I know nothing about the tools you use. Perhaps there is a flag to make the compiler POSIX-compliant, or something.
by snibgo
2019-10-06T14:46:13-07:00
Forum: Magick++
Topic: [SOLVED] Error when using Magick++: unknown type name 'ssize_t'
Replies: 8
Views: 57836

Re: Error when using Magick++: unknown type name 'ssize_t'

IM source code includes sample CPP programs. Do they build correctly?
by snibgo
2019-10-05T18:33:17-07:00
Forum: Magick++
Topic: [SOLVED] Error when using Magick++: unknown type name 'ssize_t'
Replies: 8
Views: 57836

Re: Error when using Magick++: unknown type name 'ssize_t'

What is included in your source code? I expect something like:

Code: Select all

#include <Magick++.h>
#include <string>
#include <iostream>
If you are directly including Color.h etc then that is the problem.
by snibgo
2019-10-05T15:44:54-07:00
Forum: Users
Topic: How to add to image a text with some transparency; optionally with some noise?
Replies: 5
Views: 9570

Re: How to add to image a text with some transparency; optionally with some noise?

Bash syntax:

Code: Select all

convert toes.png -gravity Center -pointsize 40 -fill "#f008" -draw 'text 0,0 "Hello world"' toes_hw.jpg
The colour for the text is #f008, semi-transparent red.
Image
by snibgo
2019-10-05T14:07:52-07:00
Forum: Users
Topic: How to add to image a text with some transparency; optionally with some noise?
Replies: 5
Views: 9570

Re: How to add to image a text with some transparency; optionally with some noise?

What version of IM, on what platform?

There is no "-text" option. Please show the command you used.

Perhaps you need an alpha setting within a colour, eg "#abcd".
by snibgo
2019-10-05T14:02:38-07:00
Forum: Users
Topic: choose starting frame (different than frame 0) for a GIF
Replies: 4
Views: 10423

Re: choose starting frame (different than frame 0) for a GIF

Ah, yes, thanks GeeMack. I thought there was a better way.