automatic commit - 25-11-2022

This commit is contained in:
firebee
2022-11-25 03:00:01 +01:00
parent 8363fcee3f
commit 87010339e0
355 changed files with 8487 additions and 3317 deletions

View File

@@ -0,0 +1,25 @@
; LDV script sample
; Demonstrates how to use clip command (copy/paste) from VCS
; Open a sample picture for demonstration
open H:\PURE_C\PROJECTS\VISION\IMGTEST\MARBLES.TIF
; Select a block on this picture
clip_sel H:\PURE_C\PROJECTS\VISION\IMGTEST\MARBLES.TIF 16 16 256 192
; Copy that block into clipboard
clip_copy
; Paste clipboard to image at various locations
clip_paste H:\PURE_C\PROJECTS\VISION\IMGTEST\MARBLES.TIF 128 128
clip_paste H:\PURE_C\PROJECTS\VISION\IMGTEST\MARBLES.TIF 512 512
clip_paste H:\PURE_C\PROJECTS\VISION\IMGTEST\MARBLES.TIF 1280 800
; Save image to disk with new name
save H:\PURE_C\PROJECTS\VISION\IMGTEST\MARBLES.TIF H:\PURE_C\PROJECTS\VISION\IMGTEST\CRAP.TIF
; We don't need this image window anymore
close H:\PURE_C\PROJECTS\VISION\IMGTEST\MARBLES.TIF nosave
; Open saved picture to check it's OK
open H:\PURE_C\PROJECTS\VISION\IMGTEST\CRAP.TIF