Jump to content

Talk:Bitmap/Read a PPM file

From Rosetta Code
(Redirected from Talk:Read ppm file)

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)
Cookies help us deliver our services. By using our services, you agree to our use of cookies.