Name:                ghostscript-parallel
Version:             0.0.1
Synopsis:            Let Ghostscript render pages in parallel
Description:
  This is intended for rendering PostScript or PDF documents using Ghostscript.
  Ghostscript has the option @-dNumRenderingThreads@
  but it does not speedup pretty much,
  because it renders each page using multiple threads.
  .
  This program runs Ghostscript multiple times on distinct page subsets,
  such that Ghostscript can render pages in parallel.
  .
  @gs-parallel@ has its own options,
  interprets them and converts and passes them to @gs@,
  but it also allows to pass custom options to @gs@ after @--@.
  .
  Run it like so:
  .
  > gs-parallel input.pdf page%04d.png -j4 -- -sDEVICE=png16m -dNOPAUSE -dBATCH
Homepage:            https://hub.darcs.net/thielema/ghostscript-parallel
License:             BSD3
License-File:        LICENSE
Author:              Henning Thielemann
Maintainer:          haskell@henning-thielemann.de
Category:            Graphics
Build-Type:          Simple
Cabal-Version:       >=1.10
Extra-Source-Files:
  Makefile
  ReadMe.md

Source-Repository this
  Tag:         0.0.1
  Type:        darcs
  Location:    https://hub.darcs.net/thielema/ghostscript-parallel

Source-Repository head
  Type:        darcs
  Location:    https://hub.darcs.net/thielema/ghostscript-parallel

Executable gs-parallel
  Build-Depends:
    pooled-io >=0.0.2 && <0.1,
    shell-utility >=0.1 && <0.2,
    optparse-applicative >=0.11 && <0.19,
    directory >=1.3 && <1.4,
    process >=1.6 && <1.7,
    non-empty >=0.3.4 && <0.4,
    utility-ht >=0.0.10 && <0.1,
    base >=4.5 && <5
  Hs-Source-Dirs:      src
  Main-Is:             Main.hs
  Default-Language:    Haskell2010
  GHC-Options:
    -Wall -fwarn-incomplete-uni-patterns -fwarn-tabs -threaded