No commit activity in last 3 years
No release in over 3 years
Red Arrow GDK Pixbuf adds `Arrow::Tensor#to_pixbuf` and `GdkPixbuf::Pixbuf#to_arrow`. `Arrow::Tensor#to_pixbuf` returns a `GdkPixbuf::Pixbuf`. `GdkPixbuf::Pixbuf#to_arrow` returns a `Arrow::Tensor`.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

README

Name

Red Arrow GDK Pixbuf

Description

Red Arrow GDK Pixbuf is a library that provides converters between Apache Arrow's tensor data (Arrow::Tensor) and GDK Pixbuf's image data (GdkPixbuf::Pixbuf).

Red Arrow GDK Pixbuf adds Arrow::Tensor#to_pixbuf and GdkPixbuf::Pixbuf#to_arrow. Arrow::Tensor#to_pixbuf returns a GdkPixbuf::Pixbuf. GdkPixbuf::Pixbuf#to_arrow returns a Arrow::Tensor.

Install

% gem install red-arrow-gdk-pixbuf

Usage

require "arrow-gdk-pixbuf"

tensor.to_pixbuf # -> An object of GdkPixbuf::Pixbuf
pixbuf.to_arrow  # -> An object of Arrow::Tensor

Dependencies

Authors

License

Apache License 2.0. See doc/text/apache-2.0.txt for details.

(Kouhei Sutou has a right to change the license including contributed patches.)