Search found 23 matches

by SineSwiper
2012-02-02T21:13:25-07:00
Forum: Bugs
Topic: [Almost bug] -colorspace sRPG option deceiving/inconsistant
Replies: 3
Views: 8516

Re: [Almost bug] -colorspace sRPG option deceiving/inconsist

I keep hearing a lot about the mythical IMv7. Any idea when that's going to come out or at least when we'll see a beta?
by SineSwiper
2012-01-24T19:46:15-07:00
Forum: Bugs
Topic: Resize/Quantize breaks in certain colorspaces
Replies: 1
Views: 4425

Resize/Quantize breaks in certain colorspaces

IM (using 6.6.9-7) seems to have some major problems with resizing or any sort of color quantization when using certain colorspaces, especially the Luma-based ones. Here's the code used: convert -list colorspace | while read CS; do echo $CS && convert -monitor Lenna.png -depth 32 -colorspace $CS -re...
by SineSwiper
2012-01-24T10:07:25-07:00
Forum: Bugs
Topic: [Almost bug] -colorspace sRPG option deceiving/inconsistant
Replies: 3
Views: 8516

[Almost bug] -colorspace sRPG option deceiving/inconsistant

The way IMv6 handles 'sRGB' colorspace is actually reversed. That is to say specifying "-colorspace sRGB" converts a image from sRGB to RGB, and visa-versa. That is "-colorspace sRGB" actually converts an image from sRGB to linear RGB colorspace. This was the result of IM choosing RGB as its intern...
by SineSwiper
2012-01-22T20:06:23-07:00
Forum: Users
Topic: Web Student - Building a Colorblindness Simulator
Replies: 4
Views: 11109

Re: Web Student - Building a Colorblindness Simulator

Update: Version that mostly works with LMS, using a XYZ to LMS conversion. For some reason, this doesn't appear to work with the Deuteranope version. I suspect there's some clipping going on that I don't know how to disable. # Normal convert -monitor Lenna.png -background Orange label:Normal -gravit...
by SineSwiper
2012-01-22T17:17:54-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 26291

Re: How to speed up creation of animated GIFs

This is a well know BUG, and is caused by two separated steps that were never optimized for small numbers of colors. First quantization step, as far as I can tell actualy does generate 256 colors! (255 is transparency is needed) However when dithering is then used to change the image to use those c...
by SineSwiper
2012-01-19T23:31:37-07:00
Forum: Users
Topic: Web Student - Building a Colorblindness Simulator
Replies: 4
Views: 11109

Re: Web Student - Building a Colorblindness Simulator

For others interested, this works: # Protanope = reds are greatly reduced (1% men) convert -monitor Lenna.png -strip -depth 32 -colorspace sRGB -color-matrix '0.0 2.02344 -2.52581 0.0 1.0 0.0 0.0 0.0 1.0' +set profile Lenna-CBP.png # Deuteranope = greens are greatly reduced (1% men) convert -monitor...
by SineSwiper
2012-01-19T21:49:06-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 26291

Re: How to speed up creation of animated GIFs

Yeah, 10fps is about the max you can get on a GIF, anyway. So, the main problem is the 5 seconds for 66 frames during the save? Do you have any way to isolate that down even further? Somewhat within the save process? If not, it might be worth trying out a few different versions of IM, including one ...
by SineSwiper
2012-01-16T20:47:00-07:00
Forum: Users
Topic: Guide: Optimized process for video to GIF conversion
Replies: 0
Views: 8032

Guide: Optimized process for video to GIF conversion

Okay, I'm pretty much done with my research and done tweaking my code. This method of video to GIF will achieve both the best quality and good size compression. Obviously, figures can be adjusted to move towards one or the other, but I'll cover some of that as well. On average, a 8fps GIF at a width...
by SineSwiper
2012-01-16T18:52:07-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 26291

Re: How to speed up creation of animated GIFs

Hmmm, yeah, only 3 colors changes things. BTW, F-S is Floyd-Steinberg, the type of dither. It's an error-correction dither, so it'll be random. Heck, for 3 colors, just turn off dither. No need for it. Let's talk about frames, then. What's the frame delay? Are we talking 60 frames for 6 seconds? How...
by SineSwiper
2012-01-15T17:50:11-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 26291

Re: How to speed up creation of animated GIFs

Wait, hold on. The slowdowns make sense, and your choice of quantization parameters confuse me. First, from the manual: classType - Image storage class. Note that conversion from a DirectClass image to a PseudoClass image may result in a loss of color due to the limited size of the palette (256 or 6...
by SineSwiper
2012-01-14T21:35:55-07:00
Forum: Users
Topic: How to speed up creation of animated GIFs
Replies: 14
Views: 26291

Re: How to speed up creation of animated GIFs

What's the full code of options? I've plenty of experience with anim GIFs, but on my end, it's mostly about getting the best quality of video conversion, rather than speed.
by SineSwiper
2012-01-08T18:57:25-07:00
Forum: Users
Topic: Finding the "right levels" for quantization with anim GIFs
Replies: 11
Views: 33386

Re: Finding the "right levels" for quantization with anim GI

Yes, but if I had "-colorspace sRGB -colorspace Lab", would that convert the input image from RGB to sRGB to Lab, or just RGB to Lab?

Also, were you interested in that C program for creating perfect ordered-dither maps of any shape?
by SineSwiper
2012-01-06T06:36:34-07:00
Forum: Users
Topic: Finding the "right levels" for quantization with anim GIFs
Replies: 11
Views: 33386

Re: Finding the "right levels" for quantization with anim GI

Also, ImageMagick seems to "hang on" to as much detail about the colors as possible to prevent information/color loss, instead of just following what I say in the order I say it. Hence, I have to do this pipe operation. If combined, it would simply convert to 32-bit Lab and resize everything, ignor...
by SineSwiper
2012-01-05T20:16:19-07:00
Forum: Users
Topic: Finding the "right levels" for quantization with anim GIFs
Replies: 11
Views: 33386

Re: Finding the "right levels" for quantization with anim GI

Not my meaning. By 'random set of colors' I mean a set of colors that was selected by some quantization algorithm to best represent the image. that is provide more colors to 'shades' and less colors to the 'single odd-colored pixels'. But the final set of colors to use is essentially not 'ordered' ...
by SineSwiper
2012-01-01T13:51:19-07:00
Forum: Developers
Topic: Bug: -colors option slows to a crawl for high color values
Replies: 0
Views: 3424

Bug: -colors option slows to a crawl for high color values

There seems to be a boundary point at 16*BD*331=84,736 (for a bit depth of 16, with a max BD of 16). If passed a -colors option above this point, it will immediately process all of the colors up to that point and then VERY SLOWLY increment by one, even going down a bit before eventually going up. (T...