Search found 19 matches

by mattyrb
2019-10-14T06:53:28-07:00
Forum: Users
Topic: Split image into large tiles?
Replies: 8
Views: 107680

Re: Split image into large tiles?

magick frames.png -crop 216x120 tile%03d.png :info magick: unable to open image 'tile%03d.png': No such file or directory @ error/blob.c/OpenBlob/3497. That command is garbage. Try the commands I showed you. info: frames.png PNG 216x8880 216x120+0+0 8-bit sRGB 3.5611MiB 0.000u 0:00.000 That's the ...
by mattyrb
2019-10-14T06:41:20-07:00
Forum: Users
Topic: Split image into large tiles?
Replies: 8
Views: 107680

Re: Split image into large tiles?

info: frames.png PNG 216x8880 216x120+0+0 8-bit sRGB 3.5611MiB 0.000u 0:00.000

magick frames.png -crop 216x120 tile%03d.png :info
magick: unable to open image 'tile%03d.png': No such file or directory @ error/blob.c/OpenBlob/3497.
by mattyrb
2019-10-14T06:13:33-07:00
Forum: Users
Topic: Split image into large tiles?
Replies: 8
Views: 107680

Re: Split image into large tiles?

The file created is tile000.png it's doing the first 216x120 piece of the image. I get the impression it's just not continuing down the file.
by mattyrb
2019-10-14T05:42:36-07:00
Forum: Users
Topic: Split image into large tiles?
Replies: 8
Views: 107680

Re: Split image into large tiles?

version 7.0.8-68 x64. I'm literally running it at command prompt in Windows 10 but it only seems to produce 1 image and not do the entire image?
by mattyrb
2019-10-14T03:55:20-07:00
Forum: Users
Topic: Split image into large tiles?
Replies: 8
Views: 107680

Split image into large tiles?

I'm using the following command on a 216 x 8880 image

magick convert frames.png -crop 216x120 tiles/tile%04d.png

Unfortunately it only outputs one image at 216x120.

Could someone tell me what I am doing wrong?
by mattyrb
2018-10-07T03:14:41-07:00
Forum: Users
Topic: Order Indexed Colour Palette
Replies: 2
Views: 4560

Re: Order Indexed Colour Palette

Unfortunate! I'll have to script in a second process to do that then. Thanks for the quick reply snibgo.
by mattyrb
2018-10-07T02:25:35-07:00
Forum: Users
Topic: Order Indexed Colour Palette
Replies: 2
Views: 4560

Order Indexed Colour Palette

Is it possible to sort indexed palettes with ImageMagick? I want colour 0 to always be the darkest colour. I can do this in GIMP simply by going from RGB to Indexed.
by mattyrb
2018-10-04T10:39:40-07:00
Forum: Users
Topic: ordered dither checks and remapping possible?
Replies: 24
Views: 21948

Re: ordered dither checks and remapping possible?

Hmm. I would guess that you need the same 16 colours in each frame, to avoid flicker. What I've found so far is applying the colormap before doing anything else reduces the flicker considerably. In jobs like this, rather than trying to design the perfect solution, it can be more productive to ...
by mattyrb
2018-10-04T07:01:00-07:00
Forum: Users
Topic: ordered dither checks and remapping possible?
Replies: 24
Views: 21948

Re: ordered dither checks and remapping possible?

Then my command will give you up to 512 colours. If you only want 16 colours, your colormap.png needs to contain only 16 colours. I don't know what constraints you have, or how you have chosen the 512 colours. You could remap to those 512 colours, and find the 16 colours that occur most frequently ...
by mattyrb
2018-10-04T06:17:19-07:00
Forum: Users
Topic: ordered dither checks and remapping possible?
Replies: 24
Views: 21948

Re: ordered dither checks and remapping possible?

My colourmap contains a 9bit colourmap of 512 possible colours.
by mattyrb
2018-10-04T05:53:33-07:00
Forum: Users
Topic: ordered dither checks and remapping possible?
Replies: 24
Views: 21948

Re: ordered dither checks and remapping possible?

Thanks for everyone's help with this btw! Really appreciate it!
by mattyrb
2018-10-04T02:44:07-07:00
Forum: Users
Topic: ordered dither checks and remapping possible?
Replies: 24
Views: 21948

Re: ordered dither checks and remapping possible?

Okay half way there

convert ', \\Source\\frame470.png', ' -ordered-dither checks,8,8,8 +write ', \\OrderedDither\\frame470.png', ' +dither -remap colormap.png ', '\\Remap\\frame470.png'

However I'm still missing reducing things to 16 colours.
by mattyrb
2018-10-03T16:23:02-07:00
Forum: Users
Topic: ordered dither checks and remapping possible?
Replies: 24
Views: 21948

Re: ordered dither checks and remapping possible?

Thanks I'll post back in the morning :)
by mattyrb
2018-10-03T15:26:03-07:00
Forum: Users
Topic: ordered dither checks and remapping possible?
Replies: 24
Views: 21948

Re: ordered dither checks and remapping possible?

Order-dither is definitely what I'm after but I can't fathom how to restrict it to 16 colours? It looks like you can only restrict to RGB steps?

-ordered-dither checks,8,8,8 is what I have at present but I then have to run a quantize to reduce the colouring but that can't be right surely!
by mattyrb
2018-10-03T15:07:54-07:00
Forum: Users
Topic: ordered dither checks and remapping possible?
Replies: 24
Views: 21948

Re: ordered dither checks and remapping possible?

fmw42 wrote: 2018-10-03T15:06:00-07:00
mattyrb wrote: 2018-10-03T14:59:03-07:00 When I say consistent the dither pattern needs to be consistent obviously error-diffusion is too random :lol:
I suspect he means the same unique pattern over the whole image, i.e. an ordered-dither
Yes! Sorry. I'm really new to image processing!