Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

tiling.sh 296 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  1. #!/usr/bin/env bash
  2. # Testing tiling of 2 small JPG images (64x64 and 90x90 pixels)
  3. ps=tiling.ps
  4. dpi=300
  5. cat << EOF > tiling.txt
  6. > -Gp${src:-.}/tiling1.jpg+r$dpi
  7. -2 -2
  8. 2 -2
  9. 0 0
  10. > -Gp${src:-.}/tiling2.jpg+r$dpi
  11. 0 0
  12. 2 -2
  13. 2 2
  14. EOF
  15. gmt psxy -R-3/3/-3/3 -Jx1i -Baf -P -L -Wthin tiling.txt -Xc > $ps
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...