Skip to content

Commit

Permalink
Merge pull request #4 from image-rs/project-pages
Browse files Browse the repository at this point in the history
Add simple content for each project.
  • Loading branch information
HeroicKatora authored Jun 4, 2019
2 parents 49378d2 + 9ae1b36 commit 0272f2d
Show file tree
Hide file tree
Showing 12 changed files with 126 additions and 2 deletions.
18 changes: 18 additions & 0 deletions _projects/canvas.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
layout: project
name: "image-canvas"
title: "Image Canvas"
weight: 10
crates_io: "https://crates.io/crates/image-canvas"
crates_io_badge: "https://img.shields.io/crates/v/image-canvas.svg"
github: "https://github.com/image-rs/canvas"
docs: "https://docs.rs/image-canvas"
docs_badge: "https://docs.rs/image-canvas/badge.svg"
---

A fairly experimental project aiming to provide a generic buffer for image
formats that avoids reallocation and reinitialization overheads. Contrary to
buffers from the standard library, such as `Vec`, some common operations are
(nearly) zero overhead instead of linear complexity. Most importantly the
transmutation into a different pixel with the same underlying sample type
avoids allocations while being strictly safe.
22 changes: 22 additions & 0 deletions _projects/image-gif.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
layout: project
name: "gif"
title: "Gif"
weight: 700
crates_io: "https://crates.io/crates/gif"
crates_io_badge: "https://img.shields.io/crates/v/gif.svg"
github: "https://github.com/image-rs/image-gif"
docs: "https://docs.rs/gif"
docs_badge: "https://docs.rs/gif/badge.svg"
---

The `gif` is an image format on the web that is nearly a synonym for
animations, the moving equivalent of the `PNG`. It is one of the oldest formats
to gain widespread support among most browser vendors. While the current trend
is towards `webm` and other technologies it remains widely used (although
rarely lauded for surviving so long).

The `image` library offers generic support for it by default while the direct
usage of the crate allows a more nuanced usage of the decoding and encoding
settings. The code can make use of the NeuQuant algorithm to quickly generate
fairly well compressed palettes. The decoding can also be stream input data.
16 changes: 16 additions & 0 deletions _projects/image-png.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: project
name: "png"
title: "Png"
weight: 800
crates_io: "https://crates.io/crates/png"
crates_io_badge: "https://img.shields.io/crates/v/png.svg"
github: "https://github.com/image-rs/image-png"
docs: "https://docs.rs/png"
docs_badge: "https://docs.rs/image/png.svg"
---

Offers a `png` decoder and encoder. Furthermore maps some general parts of the
file format itself to allow for the kind of customization intended as rationale
for the format specification. It is also integrated into the `image` crate to
offer its benefit in a more general setting.
14 changes: 14 additions & 0 deletions _projects/image-tiff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
layout: project
name: "tiff"
title: "Tiff"
weight: 700
crates_io: "https://crates.io/crates/tiff"
crates_io_badge: "https://img.shields.io/crates/v/tiff.svg"
github: "https://github.com/image-rs/image-tiff"
docs: "https://docs.rs/tiff"
docs_badge: "https://docs.rs/tiff/badge.svg"
---

A decoder and encoder for the `tiff` file format. It is also integrated into
the `image` crate to offer its benefit in a more general setting.
15 changes: 14 additions & 1 deletion _projects/image.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: project
name: "image"
title: "Image"
weight: 1000
crates_io: "https://crates.io/crates/image"
crates_io_badge: "https://img.shields.io/crates/v/image.svg"
Expand All @@ -9,4 +10,16 @@ docs: "https://docs.rs/image"
docs_badge: "https://docs.rs/image/badge.svg"
---

The `image` project.
The `image` project is a comprehensive library and center stone of an ecosystem
for decoding, encoding, representing, and manipulating images. The library
originates spawned as part of the Piston project and soon enough some of its
more popular encoders (such as `png`, `gif`, `tiff`) where split into separate
crates. In 2019 the whole collection of image libraries was split into its own
organization.

The fractal in background of the header of this page was created with the image
library! It is a variation of a long-standing
[example](https://github.com/image-rs/image/blob/master/examples/fractal.rs)
that can be found in the repository. The best part is that the crate is popular
enough that you can expirement directly on [the Rust Playground
play.rust-lang.org](https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=2e8024c1a0fdcb9aebfab712e6f0a32d).
13 changes: 13 additions & 0 deletions _projects/imageproc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: project
name: "imageproc"
weight: 100
crates_io: "https://crates.io/crates/imageproc"
crates_io_badge: "https://img.shields.io/crates/v/imageproc.svg"
github: "https://github.com/image-rs/imageproc"
docs: "https://docs.rs/imageproc"
docs_badge: "https://docs.rs/imageproc/badge.svg"
---

The `imageproc` project contains advanced generic image manipulation routines
from conversion, transformation to computer vision components.
6 changes: 6 additions & 0 deletions _summaries/canvas.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: "image-canvas"
---

A fairly experimental project aiming to provide a generic buffer for image
formats that avoids reallocation and reinitialization overheads.
6 changes: 6 additions & 0 deletions _summaries/image-gif.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: "gif"
---

A decoder and encoder for the `gif` file format which still enjoys widespread
usage on the web.
5 changes: 5 additions & 0 deletions _summaries/image-png.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "png"
---

Decoder and encoder for the widespread `png` format.
5 changes: 5 additions & 0 deletions _summaries/image-tiff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: "tiff"
---

A decoder and encoder for the `tiff` file format.
6 changes: 6 additions & 0 deletions _summaries/imageproc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
name: "imageproc"
---

Advanced generic image manipulation routines from conversion, transformation to
computer vision components.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% for project in sorted_projects %}
{% assign summary = site.summaries | where: "name",project.name | first %}
<article>
<h2><a href="{{ project.url }}">{{ project.name }}</a></h2>
<h2><a href="{{ project.url }}">{{ project.title }}</a></h2>
<p>{{ summary.content }}</p>
</article>
{% endfor %}
Expand Down

0 comments on commit 0272f2d

Please sign in to comment.