Difference between revisions of "User talk:AndyE"

From London Hackspace Wiki
Jump to navigation Jump to search
(Created page with "cracked it. it works in 16 bit, not 8 so it needs to be something like gm convert -type grayscale -colors 256 -operator ALL AND 32768 -threshold 32767 (infile) (outfile)_8 gm …")
 
Line 2: Line 2:
  
 
it works in 16 bit, not 8 so it needs to be something like  
 
it works in 16 bit, not 8 so it needs to be something like  
 
+
<pre>
 
gm convert -type grayscale -colors 256 -operator ALL AND 32768 -threshold 32767 (infile) (outfile)_8
 
gm convert -type grayscale -colors 256 -operator ALL AND 32768 -threshold 32767 (infile) (outfile)_8
 
gm convert -type grayscale -colors 256 -operator ALL AND 16384 -threshold 16383 (infile) (outfile)_7
 
gm convert -type grayscale -colors 256 -operator ALL AND 16384 -threshold 16383 (infile) (outfile)_7
Line 11: Line 11:
 
gm convert -type grayscale -colors 256 -operator ALL AND 512 -threshold  511 (infile) (outfile)_2
 
gm convert -type grayscale -colors 256 -operator ALL AND 512 -threshold  511 (infile) (outfile)_2
 
gm convert -type grayscale -colors 256 -operator ALL AND 256 -threshold 255 (infile) (outfile)_1
 
gm convert -type grayscale -colors 256 -operator ALL AND 256 -threshold 255 (infile) (outfile)_1
 
+
</pre>
 
Then the 8 files layered on top of each other in the cutter software with halving engrave depths on each one
 
Then the 8 files layered on top of each other in the cutter software with halving engrave depths on each one

Revision as of 14:12, 12 January 2011

cracked it.

it works in 16 bit, not 8 so it needs to be something like

gm convert -type grayscale -colors 256 -operator ALL AND 32768 -threshold 32767 (infile) (outfile)_8
gm convert -type grayscale -colors 256 -operator ALL AND 16384 -threshold 16383 (infile) (outfile)_7
gm convert -type grayscale -colors 256 -operator ALL AND 8192 -threshold 8191 (infile) (outfile)_6
gm convert -type grayscale -colors 256 -operator ALL AND 4096 -threshold 4095 (infile) (outfile)_5
gm convert -type grayscale -colors 256 -operator ALL AND 2048 -threshold 2047 (infile) (outfile)_4
gm convert -type grayscale -colors 256 -operator ALL AND 1024 -threshold 1023 (infile) (outfile)_3
gm convert -type grayscale -colors 256 -operator ALL AND 512 -threshold  511 (infile) (outfile)_2
gm convert -type grayscale -colors 256 -operator ALL AND 256 -threshold 255 (infile) (outfile)_1

Then the 8 files layered on top of each other in the cutter software with halving engrave depths on each one