-
Notifications
You must be signed in to change notification settings - Fork 177
Image import
The main problem when importing images is the color assignment: each image color must be assigned a limited number of tool (pen) colors, so called color quantization. Some image filters from AForge were implemented with realtime update to improove the color quantization. To cover wavy edges in horizontal drawing mode, a surrounding outline can be drawn. Note: when "outline" is enabled, the image processing works internally with up to 5x resolution for a smooth outline, which slows down the real-time update.
Internally the color processing works with three images:
- 'original' image from loading, stays untouched - Keep the button "Original" pressed to check image.
- 'adjusted' image shows the result after applying all filters to the original image.
- 'result' image simulates the plotter output, white background shows areas where no tool will be applied - Keep the button "Preview" pressed to check result.
Example picture was copied & pasted from google picture search result "keith haring flying devil".
|
Use predefined settings to convert image: |
Or do manual settings on the corresponding tabs |
Set the dimension and resolution (= pen width) of the result image. |
Apply some filters. |
Set final color quantization and deselect colors (= tools) if not needed. |
Finally check gcode parameters for conversion. Note: using "Draw outline" causes image processing with up to 5x higher resolution to get smooth outline path. This will slow down the realtime update. |
(first image, 'Comic' preset and deselected colors yellow and red, Output width = 100, resolution = 1):
horizontal |
horizontal with outline outline only |
diagonal |