Ondřej Čertík
Ondřej Čertík
@KoldMen I agree with your post. One nuance is that above we are arguing about the API of a list data structure in stdlib built using Fortran. Notice that in...
Both NetCDF and HDF5 are great. The only issue with HDF5 is that there is literally only one library that can read and write it and it's not that easy...
If we only do PPM, that can be easily done in pure Fortran. For almost all the other formats we would have to depend on a 3rd party library. It...
Perfect, let's do it. Yes, we can support both ascii and binary PPM and a few related formats.
Let's use `stdlib_experimental_io` for now. I would use `stdlib_experimental_image` if we plan to support more image routines. In SciPy it is in `scipy.misc`. Also, SciPy and Matlab calls this `imread`....
@jacobwilliams this is great! It might not be that difficult to provide pure Fortran readers / writers to other image formats also.
The idea of PPM is that they made the format simple enough so that anybody can easily read and write it from any language. Then you can use external tools...
Looks like we are all in agreement on the following: 1) Let's figure out the natural API, no matter how it is actually implemented 2) Let's start using external libraries...
Yes, the ppm, pbm style is super nice, because it is text only, easy to write, easy to read. And you can use other software to convert to/from png or...
I am personally not a fan using derived types. The ideal for this would be to use enumerations (@fortranfan would probably approve:), in fact that's what we ended up using...