Talk:Bitmap/Read a PPM file

From Rosetta Code
Revision as of 14:42, 6 February 2010 by rosettacode>UnderBot (moved Talk:Read ppm file to Talk:Bitmap/Read a PPM file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The C code uses a type image and functions alloc_img and free_img, which are nowhere defined (they are definitively not part of standard C). I guess they come from some library; in that case

  • the needed library should be given
  • the necessary #include should be added to the samples (A quick guess: The commented-out #include "imglib.h" from the calling example code might provide those types; maybe "imglib" is even the name of that library)

The same is also true for the related tasks, of course. --Ce 17:35, 15 January 2009 (UTC)

Many of these image tasks depend on other image tasks, such as Basic bitmap storage. The dependencies are mentioned in the task description. --IanOsgood 21:12, 15 January 2009 (UTC)