A CUPS/PWG/Apple raster file viewer for Linux, macOS, and Windows
Switch branches/tags
Clone or download
Pull request Compare This branch is 34 commits ahead, 13 commits behind michaelrsweet:master.
Permalink
Failed to load latest commit information.
RasterView.app/Contents Update license to Apache v2. Jan 21, 2018
appimage Add screenshots to AppStream file Jan 20, 2018
snap Whoops, mark confinement. Jan 22, 2018
test Fix maketestfiles.sh Jan 21, 2018
.depend Import rasterview 1.3 sources. Feb 25, 2017
.gitattributes Prep for release. Mar 23, 2017
.gitignore Show all formats at once in file chooser. Mar 23, 2017
.travis.yml Merge branch 'master' of git://github.com/michaelrsweet/rasterview Jan 23, 2018
LICENSE Update license to Apache v2. Jan 21, 2018
Makefile.in Update license to Apache v2. Jan 21, 2018
NOTICE Update license to Apache v2. Jan 21, 2018
README.md Merge branch 'master' of git://github.com/michaelrsweet/rasterview Jan 23, 2018
RasterDisplay.cxx Add support for gzip'd raster files (Issue michaelrsweet#7). Jan 21, 2018
RasterDisplay.h Add support for gzip'd raster files (Issue michaelrsweet#7). Jan 21, 2018
RasterView.cxx Update license to Apache v2. Jan 21, 2018
RasterView.h Update license to Apache v2. Jan 21, 2018
appveyor.yml Update appveyor.yml Jan 20, 2018
configure Fix snapcraft build errors. Jan 21, 2018
configure.ac Fix snapcraft build errors. Jan 21, 2018
error.c Update raster code from current CUPS. Mar 22, 2017
main.cxx Update license to Apache v2. Jan 21, 2018
makesrcdist Prep for release. Mar 23, 2017
pwg-raster.desktop Import rasterview 1.3 sources. Feb 25, 2017
raster.c Update to current CUPS raster code. Jan 17, 2018
raster.h Update to current CUPS raster code. Jan 17, 2018
rasterview-128.png Bump version to 1.5. Mar 22, 2017
rasterview-32.png Bump version to 1.5. Mar 22, 2017
rasterview.desktop Update rasterview.desktop Jan 19, 2018
rasterview.list.in Update license to Apache v2. Jan 21, 2018
rasterview.opacity Add 160px image. Jan 17, 2018
testcie.c Import rasterview 1.3 sources. Feb 25, 2017
urf.desktop Update DMG target. Mar 23, 2017
vnd.cups-raster.desktop Import rasterview 1.3 sources. Feb 25, 2017

README.md

AppImage Build Status <= AppImage Build Status

This Repo is cloned from original solely to build an AppImage


RasterView v1.6

RasterView (macOS name) or rasterview (Linux name) is a small GUI application spezialized to visualize CUPS-, PWG- and Apple-raster files as they are generated by CUPS and other software to print to AirPrint capable or IPP Everywhere compliant printers.

It allows you to look at the (multipage) raster data produced for printing by any of the standard CUPS RIP filters (cgpdftoraster, imagetoraster, pdftoraster, and pstoraster). It is normally used to either test those filters or visualize at the data that is being sent to your raster printer driver. Additionally it is able to display the 'Page Attributes' which are embedded into the data to control the behavior of printer drivers

RasterView is free software written by Mike Sweet and provided under version 2 of the GNU General Public license.

More information can be found at:

https://michaelrsweet.github.io/rasterview

AppImage binary for Linux users

Experimental releases of binary 'AppImage' builds for 64bit Linux users are available from Kurt Pfeifle's forked repository:

https://github.com/KurtPfeifle/rasterview/releases

To use these for testing:

  1. Download the current .AppImage
  2. Make it executable: chmod +x rasterview-*.AppImage

See below how to generate CUPS-, PWG- and Apple-raster test files.

"RasterView 'help' window"

"RasterView document window with 'Page Attributes' panel enabled"

Requirements

If you plan on (re)compiling it, you'll need FLTK 1.3.x (http://www.fltk.org/) and a C++ compiler.

How to Compile

Run the following commands:

./configure
make

How to Use

The program is called "rasterview" on UNIX/Linux and "RasterView.app" on macOS. Run the program and then open a raster file, or pass the filename on the command-line. You can view multiple files simultaneously.

The "test" subdirectory in the sources includes a script for generating raster data using the standard RIP filters. Run the following command for help:

tools/maketestfiles.sh help

Legal Stuff

RasterView is Copyright © 2002-2018 by Michael R Sweet.

RasterView is provided under the terms of the Apache License, Version 2.0. A copy of this license can be found in the file LICENSE. Additional legal information is provided in the file NOTICE.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Changes in v1.6 - 2018-01-21

  • Now licensed under the Apache License Version 2.0.
  • Fixed support for 16-bit per color files.
  • Added support for gzip'd raster files (Issue #7)

Changes in v1.5 - 2017-03-22

  • Added support for Apple raster files.

Changes in v1.4.1 - 2015-08-27

  • Fixed the dependency on strlcpy.

Changes in v1.4 - 2015-08-26

  • Added support for Device-N raster files.
  • Colorants can now be changed for Device-N, K, CMY, and CMYK raster files.
  • Attributes for PWG Raster files are now reported using the PWG 5102.4 naming and contents.

Changes in v1.3 - 2011-05-18

  • Added support for PWG Raster files (requires CUPS 1.5 or higher)

Changes in v1.2.2 - 2007-06-21

  • Added range checks to the page reader so that pages larger than 64MB or with invalid dimensions will not cause the program to crash.

Changes in v1.2.1 - 2006-09-28

  • Changed the default scheme to gtk+, which is available in FLTK 1.1.8 and higher.
  • Added a --enable-static configure option to use the static CUPS libraries.

Changes in v1.2 - 2006-05-13

  • First public release.