ropensci/magick — 481★ trên GitHub (R). Magic, madness, heaven, sin
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Bindings to ImageMagick: the most comprehensive open-source image
processing library available. Supports many common formats (png, jpeg, tiff,
pdf, etc) and manipulations (rotate, scale, crop, trim, flip, blur, etc).
All operations are vectorized via the Magick++ STL meaning they operate either
on a single frame or a series of frames for working with layers, collages,
or animation. In RStudio images are automatically previewed when printed to
the console, resulting in an interactive editing environment.
Documentation
About the R package:
Getting started: The magick package: Advanced Image-Processing in R
rOpenSci Community Call (recording)
About the underlying library:
Magick++ Tutorial
Magick++ STL Documentation
Hello World
Run examples in RStudio to see live previews of the images! If you do not use RStudio, use image_browse to open images. On Linux you can also use image_display to get an X11 preview.
library(magick)
frink <- image_read("https://jeroen.github.io/images/frink.png")
image_trim(frink)
image_scale(frink, "200x200")
image_flip(frink)
image_rotate(frink, 45) ## <-- result of this is shown
image_negate(frink)
frink |>
image_background("green") |>
image_flatten() |>
image_border("red", "10x10")
Read GIF animation frames. See the rotating earth example GIF.
earth <- image_read("https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif")
length(earth)
earth[1]
earth[1:3]
earth1 <- rev(image_flip(earth)) ## How Australians see earth
image_write(earth1, "man/figures/earth1.gif") ## <-- result of this is shown
This demo application shows how to use magick with shiny: https://github.com/jeroen/shinymagick
Installation
Binary packages for macOS or Windows can be installed directly from CRAN:
install.packages("magick")
Installation from source on Linux or OSX requires the imagemagick Magick++ library. On Debian or Ubuntu install libmagick++-dev:
sudo apt-get install -y libmagick++-dev
On Fedora, CentOS or RHEL we need ImageMagick-c++-devel. However on CentOS the system version of ImageMagick is quite old. More recent versions are available from the ImageMagick downloads website.
sudo yum install ImageMagick-c++-devel
On macOS use imagemagick@6 from Homebrew.
brew install imagemagick@6
The unversioned homebrew formulaimagemagick can also be used, however it has some unsolved OpenMP problems.
There is also a fork of imagemagick called graphicsmagick, but this doesn't work for this package.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ropensci/magick là nguồn chính thức.
ropensci/magick có bao nhiêu sao?
ropensci/magick có 481 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ropensci/magick. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ropensci/magick có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho ropensci/magick. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
ropensci/magick còn đang phát triển không?
Commit gần nhất trên ropensci/magick là 3 tháng trước (theo timestamp GitHub). Repo có 66 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
ropensci/magick là gì?
ropensci/magick (ropensci/magick) là dự án R trên GitHub. Theo mô tả gốc: Magic, madness, heaven, sin
ropensci/magick so với các dự án Image Tools khác thế nào?
ropensci/magick được TopGit xếp vào nhóm Image Tools, với 481 sao GitHub và viết bằng R. Xem trang chủ đề Image Tools trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về magick?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về magick.