Skip to content
Jonathan Ong edited this page Oct 17, 2013 · 5 revisions

See: gm2

Prerequisites

  • Node v0.12 so we can drop v0.8 support
  • apt should include a newer version of graphicsmagick

For sure:

Allow piping in data streams

In other words, gm should be a duplex stream that is a wrapper around the child_process.spawn

See: https://github.com/funraiseme/gim

Remove convenience methods

These are generally not very good and should be removed. The only exception is sepia, which is simple.

Remove custom autoOrient()

GraphicsMagick now supports -auto-orient. See: https://github.com/aheckmann/gm/tree/auto-orient

Remove custom thumb()

See: https://github.com/aheckmann/gm/issues/194

Remove preprocessor

Was only used for autoOrient()

Maybe:

identify() should parse all frames

See: https://github.com/aheckmann/gm/issues/187