// raster2floatDEM.c // #include typedef unsigned int guint; typedef unsigned char guint8; #include "../Moon_128.c" // https://astrogeology.usgs.gov/search/map/Moon/LRO/LOLA/Lunar_LRO_LOLA_Global_LDEM_118m_Mar2014 int main(int argc, char* argv) { unsigned int i,ii,j,k,count; float h, h0; guint8 p; //we'll flip the image coord, so we can start at the lower-left and work up // with +xSpacing, +zSpacing printf("\n"); if(count != (gimp_image.width+1)*gimp_image.height) printf("",count,(gimp_image.width+1),gimp_image.height,(gimp_image.width+1)*gimp_image.height); getchar(); return 0; }