Search found 9 matches

by pneumatic
2018-04-10T20:32:32-07:00
Forum: Users
Topic: Passing many draw points from the command line
Replies: 8
Views: 6228

Re: Passing many draw points from the command line

Brilliant, thank you.
by pneumatic
2018-04-10T03:55:29-07:00
Forum: Users
Topic: Passing many draw points from the command line
Replies: 8
Views: 6228

Re: Passing many draw points from the command line

Hello again So it turns out I need to generate multiple image files, and it seems some antivirus software doesn't like it when I call convert.exe multiple times in succession, where it will block some of the instances of convert.exe and in some cases freeze my calling application as well. Is it poss...
by pneumatic
2018-03-18T14:33:13-07:00
Forum: Users
Topic: Passing many draw points from the command line
Replies: 8
Views: 6228

Re: Passing many draw points from the command line

It's quite easy to use :)

Code: Select all

convert -background black txt:input.txt -filter point -resize 64x64! output.png
input.txt wrote: # ImageMagick pixel enumeration: 2,2,255,rgb
0,0: (255,255,255)
1,0: (0,0,0)
0,1: (0,0,0)
1,1: (255,255,255)
Result:

Image
by pneumatic
2018-03-18T13:23:10-07:00
Forum: Users
Topic: Passing many draw points from the command line
Replies: 8
Views: 6228

Passing many draw points from the command line

Hello I would like to generate a 256x256 .png file in which I can discretely set the colour of each pixel in the image. Is there a way to pass in these tens of thousands of -draw points from the command line, without having to call the command line once for each and every pixel I want to draw? I ima...
by pneumatic
2017-08-26T01:01:49-07:00
Forum: Bugs
Topic: Bugged conversion from .tif to .png
Replies: 7
Views: 6471

Re: Bugged conversion from .tif to .png

Did you try my commands? Do you 0 for compare. Yes. Did you not see my last message? How are you measuring your pixel values? With compare.exe like you suggested and in photoshop with the ruler set to pixels. So it looks like the Mac OSX version is fine but Windows version has a bug. Maybe someone ...
by pneumatic
2017-08-25T22:50:10-07:00
Forum: Bugs
Topic: Bugged conversion from .tif to .png
Replies: 7
Views: 6471

Re: Bugged conversion from .tif to .png

Forgot to mention, even if remove the second layer (white pixels) from the .tif, convert still produces wrong values.
by pneumatic
2017-08-25T22:42:48-07:00
Forum: Bugs
Topic: Bugged conversion from .tif to .png
Replies: 7
Views: 6471

Re: Bugged conversion from .tif to .png

Your tiff file has two pages or layers. Not sure which. But the second one is totally white. How did you create it? You are right there are two layers in there which I had forgotten about. The first layer (all white pixels) should not be needed anyway, I suspect it was just used to create the ramp ...
by pneumatic
2017-08-25T21:52:04-07:00
Forum: Bugs
Topic: Bugged conversion from .tif to .png
Replies: 7
Views: 6471

Bugged conversion from .tif to .png

When converting this .tif to a .png using convert CFX_lut.tif CFX_lut.png , imagemagick mysteriously generates two .png files, neither of which are anything close to the original file in terms of their pixel values. I suspect this has something to do with the dimensions being only 256x1 pixel. This ...