Search found 26384 matches

by fmw42
2020-05-21T11:56:35-07:00
Forum: Users
Topic: create gif animation by scrolling a big image
Replies: 6
Views: 2462

Re: create gif animation by scrolling a big image

See -roll
by fmw42
2020-05-19T22:22:26-07:00
Forum: Users
Topic: Changing Image resolution
Replies: 7
Views: 1686

Re: Changing Image resolution

For what output type? If PNG, it is automatically converted to the equivalent dots per centimeter, since PNG does not support dots per inch.
by fmw42
2020-05-19T10:19:04-07:00
Forum: Users
Topic: Changing Image resolution
Replies: 7
Views: 1686

Re: Changing Image resolution

Put the -strip before the -density
by fmw42
2020-05-14T09:44:36-07:00
Forum: Users
Topic: convert from svg to pdf size incorrect
Replies: 14
Views: 2923

Re: convert from svg to pdf size incorrect

Perhaps your printer has some scaling options that you need to reset.
by fmw42
2020-05-11T10:30:46-07:00
Forum: Digital Image Processing
Topic: Potrace the harsh edges
Replies: 1
Views: 1389

Re: Potrace the harsh edges

You do not need pot race. You can do that with some blur style antialiasing of the alpha channel. Try convert test.jpg -bordercolor white -border 1x1 -fuzz 5% -fill none -floodfill +0+0 white -shave 1x1 -channel a -blur 0x1 -level 50x100% +channel -background pink -flatten test_edited.png If that lo...
by fmw42
2020-05-09T19:37:19-07:00
Forum: Magick.NET
Topic: PSD to png - black background
Replies: 18
Views: 3527

Re: PSD to png - black background

The transparency is coming from a clip path. Here is how to handle that in command line. Sorry, I do not know Magick.Net

Code: Select all

convert -quiet tif1.tif[0] -alpha transparent -clip -alpha opaque -strip tif1.png
by fmw42
2020-05-09T18:59:44-07:00
Forum: Magick.NET
Topic: PSD to png - black background
Replies: 18
Views: 3527

Re: PSD to png - black background

Post the original TIFF file so we can inspect it.
i was using image.Format = MagickFormat.Png24;
I think you want PNG32 for transparency. See https://imagemagick.org/Usage/formats/#png_formats
by fmw42
2020-05-09T16:06:11-07:00
Forum: Users
Topic: ccitt files from pdfimages
Replies: 11
Views: 2565

Re: ccitt files from pdfimages

Looks like pdfimages, separated the binary image and its header and make two files in place of just one. Sorry, I do not know how to recombine them. But perhaps there are flags in pdfimages to set the output format, say, to TIFF, and perhaps that will keep them together. This is more of a question f...
by fmw42
2020-05-09T09:37:12-07:00
Forum: Users
Topic: ccitt files from pdfimages
Replies: 11
Views: 2565

Re: ccitt files from pdfimages

ImageMagick will use Ghostscript to rasterize the PDF. You are better off using pdfimages. Formats that ImageMagick supports are listed for your computer using convert -list format A generic list is at https://imagemagick.org/script/formats.php CCITT seems to be a TIFF fax compression format. So per...
by fmw42
2020-05-09T09:32:23-07:00
Forum: Magick.NET
Topic: PSD to png - black background
Replies: 18
Views: 3527

Re: PSD to png - black background

I have no issue in command line with either image. They both convert with transparent background. Use the flattened layer.

Code: Select all

convert psd_ok.psd[0] -colorspace sRGB psd_ok.png
and

Code: Select all

convert psd_black.psd[0] -colorspace sRGB psd_black.png
I am using IM 6.9.10.10 Q16 Mac OSX with libpng 1.6.37
by fmw42
2020-05-07T08:54:25-07:00
Forum: Users
Topic: How convert jpg change dpi
Replies: 7
Views: 1728

Re: How convert jpg change dpi

IM 6.7.8.9 is known to be buggy.
by fmw42
2020-05-06T09:41:17-07:00
Forum: Users
Topic: Percentage of a color
Replies: 15
Views: 3288

Re: Percentage of a color

Just replace magick with convert.
by fmw42
2020-05-05T16:57:05-07:00
Forum: Users
Topic: -draw image DstIn cropping problem
Replies: 1
Views: 1005

Re: -draw image DstIn cropping problem

IM 6 transparency is handled a bit differently from IM 6. The main issue is that the two images need to be the same size. This is one way to do what you want for an offset of 50,50. Get the dimensions of the large image. Then extent the smaller image to the same size with and offset. Note that in -e...
by fmw42
2020-05-03T16:16:06-07:00
Forum: Bugs
Topic: vertical stripes in a resized image
Replies: 9
Views: 3218

Re: vertical stripes in a resized image

That could be the cause. I do not use that, so cannot say for sure. But you might want to check for an update. I have been using libjpeg (90) JPE* JPEG rw- Joint Photographic Experts Group JFIF format (libjpeg 90) See https://github.com/libjpeg-turbo/libjpeg-turbo and https://sourceforge.net/project...
by fmw42
2020-05-03T12:17:03-07:00
Forum: Bugs
Topic: vertical stripes in a resized image
Replies: 9
Views: 3218

Re: vertical stripes in a resized image

What is your version of libjpeg?

Code: Select all

magick -list format
look at the end of the line for JPG

It works fine using your horse image and your command on IM 7.0.10.10 Q16 HDRI Mac OSX Sierra