Search found 11696 matches

by snibgo
2019-06-04T12:49:26-07:00
Forum: Users
Topic: Create animated GIF from PNG with all frames in one file
Replies: 4
Views: 267

Re: Create animated GIF from PNG with all frames in one file

What version of IM, on what platform? PNG files contain only one image. I think you mean that the file contains all the frames in a single image, with the frames appended vertically. Each frame is 40 pixels high. magick in.png -crop x40 +repage out.gif This splits the input into frames, and makes a ...
by snibgo
2019-06-04T05:01:32-07:00
Forum: Developers
Topic: support for raw 16-bit RGB565
Replies: 21
Views: 2150

Re: support for raw 16-bit RGB565

yes that with the And is clear but when shifted on all other languages I know on one side zeroes come in an this would make the And unnecessary so does ImageMagick rotate interanlly meaning the bits leaving on one side come in on the other? "-evaluate LeftShift" and "-evaluate RightShift" implement...
by snibgo
2019-06-03T12:25:27-07:00
Forum: Developers
Topic: support for raw 16-bit RGB565
Replies: 21
Views: 2150

Re: support for raw 16-bit RGB565

Yes it could be done with "-fx", but that would be much slower. The 8 evaluates can simplify to 5. "-evaluate And" sets each bit in the output only where the both input bits are "1". 31 is binary 0001 1111, so "-evaluate And 31" sets all bits to 0 except for the bottom 5 bits. Can you link to your 3...
by snibgo
2019-06-03T08:39:21-07:00
Forum: Developers
Topic: support for raw 16-bit RGB565
Replies: 21
Views: 2150

Re: support for raw 16-bit RGB565

That file can be successfully read by IM, but the method is awkward. Each pixel has 16 bits, arranged thus: RRRRRGGG GGGBBBBB. So we can read it as a 16-bit grayscale image, then clone for each channel, shuffling bits around, like this (Windows syntax, assuming IM is Q16): %IMG7%magick ^ -size 800x6...
by snibgo
2019-06-02T08:53:49-07:00
Forum: Users
Topic: CMYK jpg to sRGB png
Replies: 23
Views: 3399

Re: CMYK jpg to sRGB png

Neither GIMP nor MS Photo Viewer can handle CMYK images so, of course, they show it wrong. You are mistaken. Both programs (and my browser) can convert CMYK images to RGB, which are shown. If the images contain embedded ICC profiles, the colours are correct. If there is no profile, the programs gue...
by snibgo
2019-06-01T03:23:32-07:00
Forum: IMagick
Topic: SVG to PNG pattern image repeat issue
Replies: 4
Views: 443

Re: SVG to PNG pattern image repeat issue

In the SVG, the height is 1500.6242197253434 pixels. Renderers will round this to 1501 pixels, creating a gap of about 0.38 pixels somewhere. Similarly, there are many other floating-point numbers, and these will cause differences due to varying precision and algorithms. For example, the gold.jpg pa...
by snibgo
2019-06-01T01:03:20-07:00
Forum: IMagick
Topic: SVG to PNG pattern image repeat issue
Replies: 4
Views: 443

Re: SVG to PNG pattern image repeat issue

Csi wrote:Is it a bug ? An error in my SVG syntax ?
You haven't shown your SVG.

The SVG standard doesn't mandate exact outputs, so two SVG renderers that both comply with the standard can make different outputs. SVG code written to look "correct" with one renderer can look "wrong" on another.
by snibgo
2019-06-01T00:15:43-07:00
Forum: Users
Topic: Onion-skin ghost (fake motion blur)
Replies: 3
Views: 395

Re: Onion-skin ghost (fake motion blur)

I call this "temporal supersampling", because we need to generate multiple frames for merging into each output frame. We are subdividing time units.

I show an example at Clut cookbook: Application: Using cluts for animation.
by snibgo
2019-05-31T15:48:26-07:00
Forum: Users
Topic: Split image with output to two different folders
Replies: 3
Views: 310

Re: Split image with output to two different folders

Okay, you are using ImageMagick. You can prefix filenames with paths. I suggest you show the command, and say what version of IM you use, on what platform.
by snibgo
2019-05-31T14:46:22-07:00
Forum: Users
Topic: Split image with output to two different folders
Replies: 3
Views: 310

Re: Split image with output to two different folders

You just want to move files? Do that with a shell script.
by snibgo
2019-05-31T13:34:01-07:00
Forum: Bugs
Topic: Problem with -blur on transparent with 7.0.8-47
Replies: 8
Views: 760

Re: Problem with -blur on transparent with 7.0.8-47

I confirm GeeMack's command with v6.9.9-50 and v7.0.7-28 give the same result that GeeMack reports for 7.0.8-46. That result seems correct to me. I suspect a bug in 7.0.7-47.
by snibgo
2019-05-31T10:50:37-07:00
Forum: Users
Topic: Is there any multi-layer format I can export to properly?
Replies: 4
Views: 410

Re: Is there any multi-layer format I can export to properly?

How about "-label"? For example:

Code: Select all

magick -label lab1 logo: -label lab2 rose: x.tiff
Gimp sees two images in x.tiff, named "lab1" and "lab2".
by snibgo
2019-05-31T04:44:17-07:00
Forum: Bugs
Topic: Problem with -blur on transparent with 7.0.8-47
Replies: 8
Views: 760

Re: Problem with -blur on transparent with 7.0.8-47

I don't know why 7.0.8-47 might be different to 7.0.8-46.

The alpha values in the -47 version are much higher than in -46. I suspect there is a new bug in "-blur" of alpha.

Fred's suggestion removes the blur of alpha, so I expect it shows no difference between -46 and -47.
by snibgo
2019-05-30T13:28:51-07:00
Forum: Users
Topic: Image border size calculated from image size
Replies: 8
Views: 623

Re: Image border size calculated from image size

pnowak wrote:"C:\Program Files\ImageMagick-7.0.8-Q16\magick.exe" magick %1 ...
No. I said: Use "magick" instead of "convert". You have "magick" twice. And you've removed "%[fx...]" from your "-border" and "-annotate".
by snibgo
2019-05-30T12:27:18-07:00
Forum: Users
Topic: Image border size calculated from image size
Replies: 8
Views: 623

Re: Image border size calculated from image size

As I said: Use "magick" instead of "convert".