https://github.com/stscl/itmsa_logo
Logo for R package itmsa
https://github.com/stscl/itmsa_logo
Last synced: about 1 year ago
JSON representation
Logo for R package itmsa
- Host: GitHub
- URL: https://github.com/stscl/itmsa_logo
- Owner: stscl
- Created: 2024-12-21T13:31:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-21T13:37:59.000Z (over 1 year ago)
- Last Synced: 2025-02-14T21:54:47.820Z (over 1 year ago)
- Language: R
- Homepage:
- Size: 1.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
``` r
library(showtext)
showtext_auto(enable = TRUE)
font_add("ShineTypewriter", regular = "./ShineTypewriter-lgwzd.ttf")
library(hexSticker)
library(magick)
sticker(
subplot = "./itmsa.png",
s_x = 1.015,
s_y = 1.000,
s_width = .985,
s_height = .985,
package = "",
# p_family = "ShineTypewriter",
# p_size = 18.5,
# p_x = 1.00,
# p_y = 1.525,
# p_color = "#a9fdff",
dpi = 300,
asp = 1,
h_size = 2.75,
h_color = "#404040",
h_fill = "#404040",
white_around_sticker = T,
# url = "https://stscl.github.io/sshicm",
# u_color = "#a9fdff",
# u_size = 5.25,
filename = "itmsa_logo.png"
)
# finally make sshicm logo background transparent
# https://uutool.cn/img-matting/
image_read('./itmsa_logo.png') |>
image_resize("240x278")|>
image_write('./itmsa_logo.png')
```

**Many thanks to [my friend](https://github.com/dflemore) for her
invaluable assistance in creating the core sshicm figure.**