Repository navigation
Releases
Releases · kenshaw/iv
iv v0.24.1
What changed
-treads a duration, such as5sor1m30s. Before, it read a count of nanoseconds, so-t 5sfailed.- ivy v0.5.1 puts the lines of a Word document closer together, and lines up the bullets of a list with their text.
- The other dependencies are updated: okage v0.24.1, zuzu v0.11.1, ox v0.7.1, magic v0.9.2, gav1d, h265 and vpx v0.3.0, and transit v0.7.9.
- A scheduled workflow keeps the Homebrew formula current, as one does for the AUR packages, and tries again after a failed update.
- The screenshots of Mermaid and Vega-Lite in the README show the current output.
Full Changelog: v0.24.0...v0.24.1
iv v0.24.0
What changed
- Documents, ebooks and page descriptions draw with ivy v0.3.0, in pure Go.
ivno longer runs LibreOffice, calibre,xpstopngorpdftoppm. It gains CHM, DjVu, EMF and WMF, camera RAW previews, EPS, iWork, Visio, Publisher, OpenRaster, Krita, CSV, and LaTeX and plain TeX, and loses WordPerfect. A page of a Word document draws in 142 ms in place of 505 ms, and a page of an EPUB in 155 ms in place of 1619 ms. ivasks at the terminal for the password of a pdf or another document when--passworddoes not give the right one, at most three times.- A spreadsheet, such as a csv, xlsx, xls or ods file, draws in landscape on US Letter, unless the file gives its own orientation.
-o file.pdfwrites a document as a pdf with its text as text, and its paths and images as vectors. It writes every page, or the page that--pageselects.- libvips is gone. Pure Go packages decode HEIC, AVIF, JPEG XL, JPEG 2000, OpenEXR, Radiance HDR, PFM, MATLAB and the vips format, and encode AVIF, HEIC, JPEG XL, JPEG 2000, TIFF, WebP and GIF. FITS, NIfTI and JPEG XS are dropped, and so is
--vips-concurrency. To buildiv, Linux needs only fontconfig and freetype, and macOS needs nothing from Homebrew. - The colors of an image convert to sRGB from its ICC profile, or from its CICP code points. A CMYK jpeg draws with its own profile, or a default CMYK profile.
--animateplays an animated png, webp and JPEG XL, and a heic or avif sequence.--pageselects a frame of any animation, and an image of a heic or avif file, such as one of the images of a dynamic wallpaper of macOS.-vwrites all of the metadata of an image file: each Exif, IPTC and XMP tag, the text of a png, the comments of a jpeg and a gif, and the name of the ICC profile. For a dynamic wallpaper of macOS, it says which image is shown.- A large jpeg decodes at a fraction of its size when it is shown smaller: 165 ms in place of 837 ms for an image of 6016x6016.
--encoder webpwrites a webp with no loss, and--encoder webp-lossywrites a lossy webp. They replacenativewebpandvpx.- zuzu v0.10.0 draws the math of KaTeX in the labels of a Mermaid diagram, lays out a Mermaid graph as dagre does, draws Mermaid in its default colors, and draws the marker of today in a gantt.
- The Release workflow runs only for a version tag, and a scheduled workflow keeps the AUR packages current.
- The linux/amd64 archive is 51.7 MB, in place of 38.7 MB for v0.23.0, because the binary now holds ivy and the pure Go codecs, which replace libvips and the external commands.
Full Changelog: v0.23.0...v0.24.0
iv v0.23.0
What changed
- Font previews draw with okage v0.9.0, which reads TrueType, OpenType, font collections, WOFF, WOFF2 and EOT. Each preview names the family, the style and the version of the font, then shows its own sample text, when it has one, the alphabet and the digits, and pangrams at growing sizes. A font with color emoji gets a line of emoji, and a font of emoji, such as Noto Color Emoji, shows its emoji at each size. In a collection,
-p Nselects the face. --font-weight N(1 to 1000) and--font-italicreplace--font-styleand--font-variant, which took bare integers and had almost no effect. They set the axes of a variable font.- A file that nothing else recognizes, such as an Affinity file, is searched for embedded images with the walker of magic v0.6.1, a port of binwalk 3 to Go. The
binwalkcommand is no longer needed. The walker also unpacks xz, lzma and zstd, and finds the images in the files of an archive. - zuzu v0.7.2 fixes marks, axes and colors of Vega and Vega-Lite charts.
- The release build is about 7 MB smaller on linux/amd64, 99.8 MB in place of 106.6 MB in v0.22.1, because tdewolff/canvas and kenshaw/fontimg are gone.
Full Changelog: v0.22.1...v0.23.0
Full Changelog: v0.22.1...v0.23.0
iv v0.22.1
What changed
- Mime detection uses magic v0.5.0, a port of libmagic to pure Go. It needs no cgo and no libmagic, and gives the output of libmagic 5.48. Every test file gets the same mime type as before.
- The release build is about 10.8 MB smaller, 106.6 MB in place of 117.5 MB on linux/amd64, because the database of libmagic is no longer embedded uncompressed.
Full Changelog: v0.22.0...v0.22.1
Full Changelog: v0.22.0...v0.22.1
iv v0.22.0
What changed
- On kitty, and on Ghostty 1.4.0 or later,
--animatedraws the frames into one Kitty image and changes its picture for each frame, with theKittyStreamof rasterm v0.3.0. The terminal keeps only two frames, however long the animation is. Other terminals get one image for each frame. --animate-modeselects how the frames go to the terminal:auto, the default,stream,kitty, which sends one animation that the terminal plays and stores whole, orframes, which draws one image for each frame.- A video plays at its own speed, for its whole length, at its own frame rate up to 30 frames a second. Before, a video longer than a minute was sampled into a pass of one minute. Late frames are dropped, so a video keeps its length, and a rotated video plays upright.
- iv asks the terminal which graphics protocol it supports, so the protocol is right over SSH and in tmux.
TERM_GRAPHICSstill selects one. - A file whose name ends in
.vg.jsondraws as a Vega chart, and one that ends in.vl.jsonas a Vega-Lite chart, with zuzu. A spec reads the data that it names by url only from its own directory and the directories under it.--zuzu-data DIRreads the data fromDIRinstead. - okage v0.7.1 gives the same results on arm64 and s390x as on amd64.
Full Changelog: v0.21.1...v0.22.0
Full Changelog: v0.21.1...v0.22.0
iv v0.21.1
What changed
- The lottie decoder uses the lottie API of okage v0.7.0, which now detects a lottie, reads a dotLottie archive and draws a frame. The frames are the same as in v0.21.0.
Full Changelog: v0.21.0...v0.21.1
Full Changelog: v0.21.0...v0.21.1
iv v0.21.0
What changed
- A lottie draws with the lottie package of okage v0.6.1, in Go, in place of ThorVG in WebAssembly. The frames look the same. A run of iv on a lottie takes 36 to 76 ms, where it took about 250 ms, and the binary is 4.2 MB smaller.
--animateplays every frame of a lottie whose frames take longer to draw than their time on screen. Before, it showed only the first frame. Such an animation now plays slower than its own speed. A frame that the terminal is too slow to draw is still dropped.- zuzu v0.7.1 draws every kind of Mermaid 12.3 diagram. New since v0.20.0: block, C4, cynefin, eventmodeling, gitGraph, ishikawa, kanban, packet, railroad, requirement, timeline, treeView, venn and zenuml.
- An emoji in a DOT graph or a Mermaid diagram draws in color, with Noto Color Emoji.
- The edges of a DOT graph are darker and wider, with larger arrowheads, and the labels of edges that end at the same port no longer overlap.
Full Changelog: v0.20.0...v0.21.0
Full Changelog: v0.20.0...v0.21.0
iv v0.20.0
What changed
- DOT graphs and Mermaid diagrams draw with zuzu v0.5.0, in Go, with no external command and no WebAssembly. One decoder named
zuzureplaces thegraphvizandmermaiddecoders. It draws the architecture, class, entity relationship, flowchart, gantt, journey, mindmap, pie, quadrant, sankey, sequence, state, treemap, Wardley and xychart kinds of Mermaid. A diagram is drawn at twice its size, so that its lines and text are sharp. - The code blocks of a Markdown document are colored with transit, a port of tree-sitter to Go. iv knows Bash, C, C++, Go, HTML, Java, JavaScript, JSON, Python, Ruby, Rust, SQL and TypeScript, with the colors of GitHub, or its dark colors with
--blitz-dark. A block of a dialect of SQL, such aspostgresorusql, is colored as SQL. - A Markdown or HTML document is drawn whole, and a document that is taller than the terminal is cut into pages as wide as the terminal.
-p Nselects a page. Before, a document was cut off after 4000 CSS pixels and shrunk to fit the terminal. - A Markdown file that starts with HTML, such as a README with a centered logo, is drawn as Markdown.
- A
--min-widthor--min-heightgiven on the command line is a hard floor. - blitz v0.5.0 puts a gap after the number of an ordered list, and draws a tab in a code block as spaces. Its macOS archives link with Go 1.27.4.
Full Changelog: v0.19.5...v0.20.0
Full Changelog: v0.19.5...v0.20.0
iv v0.19.5
Full Changelog: v0.19.4...v0.19.5
iv v0.19.4
Full Changelog: v0.19.3...v0.19.4