Linux SoftwareMultimediaGraphicsPNGwriter 0.5.3

PNGwriter 0.5.3


PNGwriter is a C++ library for creating PNG images
Developer:   Paul Blackburn
      more software by author →
Price:  0.00
License:   GPL (GNU General Public License)
File size:   0K
Language:   
OS:   
Rating:   0 /5 (0 votes)
Your vote:  
enlarge screenshot


PNGwriter is a C++ library for creating PNG images. PNGwriter lets you focus on your program, and saves you the trouble of learning how to create, use and read PNG images from scratch. You just need to specify what size you want your image, and then you go plotting pixel by pixel in a given colour with the plot function.

PNGwriter was originally written with scientists in mind. The need to create an image from the result of a scientific computer simulation arises as a natural part of scientific programming. Getting the data out of the program and into a high quality image in an efficient way can sometimes be hard, especially if the user is not a very experienced programmer. The methods used can often be highly inefficient or too complex to be good for work.

If the data is in (x, y) form, then one can use any of the many plotting programs out there, like gnuplot, R. Br?hl's excellent Abscissa and so on.

If, on the other hand, the data is in (x, y, z) form, one must choose how to represent the third variable. Software such as Mathematica offers many alternatives in this respect, but if the amount of data points is considerable, rendering an image using Mathematica as an array of pixels using text-based data is many, many times slower than rendering the image to disk from the C++ program itself. Consider the bottlenecks involved: the program must produce a file, writing the data in ASCII mode. This is about two orders of magnitude slower than outputting the data in binary mode. It must then be rendered by Mathematica, using vector graphics (one object per pixel). It is only at this stage that one can convert the image to a lossless bitmap image format such as PNG or TIFF. Another possibility is to use ImageMagick or Netpbm to process the data, but again, one is limited by the fact that the data must be written in ASCII format first, and support for 24-bit colour in the PPM file format is not standardized (i.e., mostly non-existent) and is endian-dependent.

PNGwriter was written as a possible solution to this issue. Its interface is extremely intuitive, there is only one new object to learn about (the PNGwriter class), in other words, no classes and subclasses for pixels, colours, bitmaps, filenames, etc. As long as you know what colour you want the pixel at position (x, y) to be, you can implement any algorithm you want. Want to play with cellular automata but are tired of seeing you results as an array of 1s and 0s in text? Want to have a go at exploring fractals yourself? Need a quick way to implement that image-recognition algorithm you are working on for your autonomous rover, driverless vehicle or robot arm? Want to simulate gravitational lensing but haven't yet been able to create an actual image from your algorithm? Need to simulate an object moving on an energy surface, using interpolation between the available data points? PNGwriter can help!

Here are some key features of "PNGwriter":
  • Plot
  • Get the colour of a pixel
  • Open an already-existing PNG file.
  • Plot in the HSV and CMYK colour spaces.
  • Get the colour of a pixel in the HSV and CMYK colour spaces.
  • Plot lines, filled or hollow circles and rectangles, opaque and translucent.
  • Plot text, using any TrueType font.
  • Adjust the image's gamma.
  • Choose the level of compression.
  • Change the file name.
  • Scale the image.
  • Get the height, width and bit depth of an image.
    tags the data  the image  get the  you want  algorithm you  the colour  the hsv  hsv and  colour spaces  cmyk colour  and cmyk  data points  image from  

    Download PNGwriter 0.5.3


     http://prdownloads.sourceforge.net/pngwriter/pngwriter-0.5.3.tgz?use_mirror=internap
     http://prdownloads.sourceforge.net/pngwriter/pngwriter-0.5.3.tgz?use_mirror=umn
     http://prdownloads.sourceforge.net/pngwriter/pngwriter-0.5.3.tgz?use_mirror=switch


    Authors software

    PNGwriter 0.5.3 (by Paul Blackburn)
    PNGwriter is a C++ library for creating PNG images


    Similar software

    PNGwriter 0.5.3 (by Paul Blackburn)
    PNGwriter is a C++ library for creating PNG images

    XV 3.10a (by John Bradley)
    xv is an interactive image manipulation program for the X Window System

    GREYCstoration 2.3 (by David Tschumperle)
    GREYCstoration is an image regularization algorithm which processes an image by locally removing small variations of pixel intensitie

    i.Mage 1.00 Beta 2 (by Matthew Allen)
    i.Mage is a small and fast graphics editor slanted towards quite and easy pixel editing, ala DPaint from the DOS/Amiga days.

    i.Mag

    Jpegpixi 1.1.1 (by Martin Dickopp)
    Jpegpixi is short for ‘JPEG Pixel Interpolator’

    Raster3D 2.7c (by Biomolecular Structure Center at the University of)
    Raster3D is a powerful set of tools for generating high quality raster images of proteins or other molecules

    Imagero Reader 1.9.3_8 (by Imagero Reader Team)
    Imagero Reader is a Java library for reading image files

    Volumevis 0.6.2 (by Christoph Spuhler)
    Volumevis displays pixel-based 3-dimensional datasets

    LabPlot 1.5.1.5 (by Stefan Gerlach)
    LabPlot is a KDE application for data plotting and function analysis

    Pixel 1.0 Beta 6 Build 553 (by Pavel Kanzelsberger)
    Pixel is a RGB, CMYK and HDR image editing, photo retouching and manipulating program available for many operating systems formerly k


    Other software in this category

    SPlotter- 1.2 Simple Plotter 3D (by Naskita)
    Plotting all 2D and 3D functions had never been so easy

    BRL-CAD 7.8.4 (by Sean Morrison)
    BRL-CAD project is a powerful Constructive Solid Geometry (CSG) solid modeling system

    motion 3.2.5 (by Jeroen Vreeken)
    Motion is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the pictur

    ImageMagick 6.3.1-1 (by ImageMagick Studio LLC)
    ImageMagickTM, version 6.2.2, is a free software suite for the creation, modification and display of bitmap images

    XScreenSaver 5.01 (by jwz)
    XScreensaver program waits until the keyboard and mouse have been idle for a period, and then runs a graphics demo chosen at random

  •     search


    Featured Software

    jEdit 4.3 pre8
    jEdit is an Open Source text editor written in Java

    Opera 9.02
    Surf the Internet in a safer, faster, and easier way with Opera browser

    GNU Aspell 0.60.4
    GNU Aspell is a Free and Open Source spell checker designed to eventually replace Ispell


    Subscribe in Rojo
    Google Reader
    Add to My Yahoo!

    Add to My AOL
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add 'nixbit linux software' to Newsburst from CNET News.com
    del.icio.us nixbit linux software


    Top tags