{
  "_id": "6acb69d4fe5cc25786e8fa0b",
  "Package": "terminalgraphics",
  "Type": "Package",
  "Title": "Graphical Output in Terminals",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(\ngiven = \"Jan\",\nfamily = \"van der Laan\",\nrole = c(\"aut\", \"cre\"),\nemail = \"r@eoos.dds.nl\",\ncomment = c(ORCID = \"0000-0002-0693-1514\")\n),\nperson(\ngiven = \"Doug\",\nfamily = \"Kelkhoff\",\nrole = c(\"ctb\"),\nemail = \"doug.kelkhoff@gmail.com\",\ncomment = c(ORCID = \"0009-0003-7845-4061\")\n)\n)",
  "Description": "Defines a graphics device and functions for graphical\noutput in terminal emulators that support graphical output.\nCurrently terminals that support the Terminal Graphics Protocol\n(<https://sw.kovidgoyal.net/kitty/graphics-protocol/>) and\nterminal supporting Sixel\n(<https://en.wikipedia.org/wiki/Sixel>) are supported.",
  "BugReports": "https://codeberg.org/djvanderlaan/terminalgraphics/issues",
  "URL": "https://codeberg.org/djvanderlaan/terminalgraphics",
  "License": "GPL-3",
  "SystemRequirements": "C++20, A terminal emulator supporting the Terminal\nGraphics Protocol\n(<https://sw.kovidgoyal.net/kitty/graphics-protocol/>) or\nSixel.",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libfontconfig1-dev libfreetype6-dev libfribidi-dev\nlibharfbuzz-dev libicu-dev libjpeg-dev libpng-dev libtiff-dev\nlibwebp-dev",
  "Repository": "https://djvanderlaan.r-universe.dev",
  "Date/Publication": "2026-05-01 13:41:14 UTC",
  "RemoteUrl": "https://codeberg.org/djvanderlaan/terminalgraphics",
  "RemoteRef": "HEAD",
  "RemoteSha": "2888e98e6e12f03d81de5836947756febe175fd2",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-11 10:29:12 UTC",
    "User": "root"
  },
  "Author": "Jan van der Laan [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0693-1514>),\nDoug Kelkhoff [ctb] (ORCID: <https://orcid.org/0009-0003-7845-4061>)",
  "Maintainer": "Jan van der Laan <r@eoos.dds.nl>",
  "_user": "djvanderlaan",
  "_type": "src",
  "_file": "terminalgraphics_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b517e90f7c5d0ff7c1db39456f87dccb567bdc8588bf1326319e70e317e21bd8",
  "_filesize": 136990,
  "_sha256": "b517e90f7c5d0ff7c1db39456f87dccb567bdc8588bf1326319e70e317e21bd8",
  "_expires": "2027-01-19T10:49:54.000Z",
  "_created": "2026-10-11T10:29:12.000Z",
  "_published": "2026-10-11T10:49:56.064Z",
  "_buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114448486497,
      "time": 97,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11699387338"
    },
    {
      "job": 114448486430,
      "time": 114,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11699691808"
    },
    {
      "job": 114448486421,
      "time": 86,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11700070100"
    },
    {
      "job": 114448486426,
      "time": 102,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11698909621"
    },
    {
      "job": 114448486487,
      "time": 100,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11699369013"
    },
    {
      "job": 114448486394,
      "time": 322,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11700130696"
    },
    {
      "job": 114448486551,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699941822"
    },
    {
      "job": 114448486438,
      "time": 156,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699985777"
    },
    {
      "job": 114448040708,
      "time": 155,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699871077"
    },
    {
      "job": 114448486399,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11698829553"
    },
    {
      "job": 114448486510,
      "time": 196,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11699487344"
    },
    {
      "job": 114448486416,
      "time": 121,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11699676901"
    },
    {
      "job": 114448486599,
      "time": 97,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11699786568"
    },
    {
      "job": 114448486400,
      "time": 181,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11700210022"
    },
    {
      "job": 114448486405,
      "time": 87,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11699402285"
    }
  ],
  "_upstream": "https://codeberg.org/djvanderlaan/terminalgraphics",
  "_commit": {
    "id": "2888e98e6e12f03d81de5836947756febe175fd2",
    "author": "Jan van der Laan <Jan van der Laan>",
    "committer": "Jan van der Laan <Jan van der Laan>",
    "message": "Rescale new plots when terminal size has changed (fixes #10)\n",
    "time": 1777642874
  },
  "_maintainer": {
    "name": "Jan van der Laan",
    "email": "r@eoos.dds.nl",
    "orcid": "0000-0002-0693-1514"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "ragg",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "magick",
      "role": "Suggests"
    }
  ],
  "_owner": "codeberg-djvanderlaan",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-42",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 4
    },
    {
      "week": "2025-47",
      "n": 10
    },
    {
      "week": "2025-48",
      "n": 6
    },
    {
      "week": "2026-18",
      "n": 10
    }
  ],
  "_tags": [],
  "_userbio": {
    "uuid": 1339575,
    "type": "user",
    "name": "Jan van der Laan",
    "followers": 43
  },
  "_downloads": {
    "count": 314,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/terminalgraphics"
  },
  "_devurl": "https://codeberg.org/djvanderlaan/terminalgraphics",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/terminalgraphics.html"
  ],
  "_homeurl": "https://codeberg.org/djvanderlaan/terminalgraphics",
  "_realowner": "djvanderlaan",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-08-28"
    },
    {
      "version": "0.2.0",
      "date": "2025-11-25"
    },
    {
      "version": "0.2.1",
      "date": "2025-11-26"
    },
    {
      "version": "0.3.0",
      "date": "2026-05-01"
    }
  ],
  "_exports": [
    "has_sixel_support",
    "has_tgp_support",
    "is_ghostty",
    "is_kitty",
    "is_nvim",
    "is_tmux",
    "is_vim",
    "kitty_background",
    "kitty_colors",
    "kitty_foreground",
    "kitty_palette",
    "png2sixel",
    "png2terminal",
    "png2tgp",
    "raster2sixel",
    "raster2terminal",
    "raster2tgp",
    "sixel",
    "term_background",
    "term_color_mode",
    "term_dim",
    "term_foreground",
    "term_height",
    "term_palette",
    "term_replot",
    "term_width",
    "tgp"
  ],
  "_help": [
    {
      "page": "has_sixel_support",
      "title": "Determine if terminal supports Sixel",
      "topics": [
        "has_sixel_support"
      ]
    },
    {
      "page": "has_tgp_support",
      "title": "Determine if terminal supports Terminal Graphics Protocol",
      "topics": [
        "has_tgp_support"
      ]
    },
    {
      "page": "is_terminal",
      "title": "Determine the type of terminal",
      "topics": [
        "is_ghostty",
        "is_kitty",
        "is_nvim",
        "is_tmux",
        "is_vim"
      ]
    },
    {
      "page": "kitty_colors",
      "title": "Get the colors used in the kitty terminal",
      "topics": [
        "kitty_background",
        "kitty_colors",
        "kitty_foreground",
        "kitty_palette"
      ]
    },
    {
      "page": "png2sixel",
      "title": "Dump a PNG image to the terminal in Sixel format",
      "topics": [
        "png2sixel"
      ]
    },
    {
      "page": "png2terminal",
      "title": "Dump a PNG image to the terminal",
      "topics": [
        "png2terminal"
      ]
    },
    {
      "page": "png2tgp",
      "title": "Dump a PNG image to the terminal using the Terminal Graphics Protocol",
      "topics": [
        "png2tgp"
      ]
    },
    {
      "page": "raster2sixel",
      "title": "Dump an image raster to the terminal in Sixel format",
      "topics": [
        "raster2sixel"
      ]
    },
    {
      "page": "raster2terminal",
      "title": "Dump an image raster to the terminal",
      "topics": [
        "raster2terminal"
      ]
    },
    {
      "page": "raster2tgp",
      "title": "Dump an image raster to the terminal using the Terminal Graphics Protocol",
      "topics": [
        "raster2tgp"
      ]
    },
    {
      "page": "sixel",
      "title": "Terminal Graphics Protocol Device",
      "topics": [
        "sixel"
      ]
    },
    {
      "page": "term_colors",
      "title": "Get the colors used in the terminal",
      "topics": [
        "term_background",
        "term_foreground",
        "term_palette"
      ]
    },
    {
      "page": "term_color_mode",
      "title": "Get the color mode of the terminal",
      "topics": [
        "term_color_mode"
      ]
    },
    {
      "page": "term_dim",
      "title": "Get the dimensions of the terminal window in pixels",
      "topics": [
        "term_dim"
      ]
    },
    {
      "page": "term_height",
      "title": "Get the height of the terminal window in pixels",
      "topics": [
        "term_height"
      ]
    },
    {
      "page": "term_replot",
      "title": "Replot the current device in the terminal.",
      "topics": [
        "term_replot"
      ]
    },
    {
      "page": "term_width",
      "title": "Get the with of the terminal window in pixels",
      "topics": [
        "term_width"
      ]
    },
    {
      "page": "tgp",
      "title": "Terminal Graphics Protocol Device",
      "topics": [
        "tgp"
      ]
    }
  ],
  "_readme": "https://codeberg.org/djvanderlaan/terminalgraphics/raw/HEAD/README.md",
  "_rundeps": [
    "base64enc",
    "cli",
    "cpp11",
    "jsonlite",
    "lifecycle",
    "ragg",
    "Rcpp",
    "rlang",
    "stringi",
    "systemfonts",
    "textshaping"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 3.3979400086720375,
  "_indexed": true,
  "_nocasepkg": "terminalgraphics",
  "_universes": [
    "djvanderlaan",
    "codeberg-djvanderlaan"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-11T10:30:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/dc63ebef16fc50e490d73d18354bedb7e5cc22236e46853d971275e47b729d43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-11T10:31:08.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/52ab675496ce34647867b070a8673801174a61fae0c35b9910d2955c6b111af1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-11T10:30:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/5b643e6e78374bb646e3b58ccb045aad6daad44c8aa22b36053cb7b89a7e8df1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-10-11T10:31:00.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/ccd67804f97e3345541cb0b614524f583790fc1dd7a71333a05bf3d884876e59",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-11T10:46:21.000Z",
      "arch": "aarch64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/668d6eb8e7b067efd6030de675bb4bb70665fcb95dee7a2cf3d96e860010f28a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-11T10:38:07.000Z",
      "arch": "x86_64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/2ea169f314fa5b5a0797f616727511374ad4e6c3fdae3f1177cd72d46d5b1491",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-11T10:49:05.000Z",
      "arch": "aarch64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/772dbd15ae8c91dafbd8d6ef46c3beccef2ed7feb89960e5fcacbe40885f8b25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-10-11T10:36:17.000Z",
      "arch": "x86_64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/1a9ec23c3586671d1f55a5aa874ab0515fa25d0b73f249c0be0953491a6dd290",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-10-11T10:31:09.000Z",
      "arch": "emscripten",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/80f563a1007da00bd9837bfc1abff022b260d05677454933f649851f4d8f186b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-11T10:32:15.000Z",
      "arch": "aarch64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/3c1a910eb6c6628733ee0fd35c5679eb9091b75ecae9f341eb6786af14ad0d58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-11T10:30:35.000Z",
      "arch": "x86_64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/f1ce9bb4233a851d79a83f9e42ec4634aa241df22c75bde4c891493b260ce81e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-11T10:30:26.000Z",
      "arch": "x86_64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/91c3622532058858f7d98546bdbe74064c2bc9224fafced8cc616136bb0e9b0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-11T10:32:02.000Z",
      "arch": "aarch64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/7503af8dec9737febf7d1c379878f73cfef7d93744e66eb8df0cc5fe8a7c06e3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-10-11T10:30:21.000Z",
      "arch": "x86_64",
      "commit": "2888e98e6e12f03d81de5836947756febe175fd2",
      "fileid": "https://r2.ropensci.org/cf28751159c9419d3e066e675cab6ed43277e25b1cd3c533cd2d19424e6bdc3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/djvanderlaan/actions/runs/38131969586"
    }
  ]
}