Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official EBImage sticker #19

Open
aoles opened this issue May 8, 2017 · 1 comment
Open

Official EBImage sticker #19

aoles opened this issue May 8, 2017 · 1 comment

Comments

@aoles
Copy link
Owner

aoles commented May 8, 2017

Create one at Bioconductor/BiocStickers, consider using GuangchuangYu/hexSticker. Use the original package logo:

logo

@aoles
Copy link
Owner Author

aoles commented Jun 14, 2017

Draft

library(hexSticker)
library(EBImage)

imgurl <- "https://cloud.githubusercontent.com/assets/6545356/25825441/4ff5c698-3443-11e7-9576-aa080e3462a4.png"

img = readImage(imgurl)

sticker(expression(display(img, method="raster", bg="transparent")),
        package = "EBImage", p_size = 28, 
        h_fill = "#000000", h_color = "#FFFFFF"	,
        s_x = 1, s_y = 0.75, s_width=1.35, s_height=0.95,
        filename="hexsticker.png")

hexsticker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant