![]() ![]() So it seems to me that gsd_getimage is not getting the image? ![]() GS_write_ppm calls gsd_getimage to get the actual image data and size. G_warning(_("Unable to open file for writing"), name) įprintf(fp, "P6\n%d %d\n255\n", xsize, ysize) Navigating trough the code, I see that m.nviz.image calls GS_write_ppm to write the file, which is in lib/ogsf/gsd_img_ppm.c: Opening the ppm file into a text editor, I see that all that was written was the header, and that the image size was 0,0: ![]() With format=tif, I get an error creating the file (TIFFScanlineSize64: Computed scanline size is zero.). When trying to create some images with m.nviz.image, but all I get as output is a 11 byte ppm.Īll I get is an unreadable ppm with 11 bytes. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |