Giter Club home page Giter Club logo

Comments (3)

vmagnin avatar vmagnin commented on June 15, 2024 1

Well, it depends on what future developments you envision in ForImage. Personally I would have put it in ForColormap because I can't see what .lut (ImageJ) files could bring except managing colormaps. But maybe you have more ideas and anyway as ForImage is a dependency, ForColormap will also have access...

My idea is that the user could create a colormap with its own routine or use built-in routines that we could later add to create specific kinds of colormaps. And he could be interested to export it, for example for use with another software.

On my side, amongst the development I could imagine in ForImage I see things like:

  • drawing methods for lines, circles, rectangles... Interesting work could be done around anti-aliasing for example...
  • filters,
  • managing layers,
  • transformations like rotations and mirrors
  • ...

Maybe we could then imagine a ForPlot project using it to make some basic plotting...

from forcolormap.

gha3mi avatar gha3mi commented on June 15, 2024 1

Thank you for sharing your ideas. I completely agree with your vision for ForImage. Drawing methods for shapes, anti-aliasing, filters, layer management, and transformations like rotations and mirrors are all valuable features. In my initial plans for ForImage, I intended to support importing, exporting and converting various file formats. PNM files were the easiest to implement, which is why I started with them. However, formats like PNG, SVG, JPEG, and others require the use of C libraries, and unfortunately, I haven't had enough time to implement these libraries yet.

Regarding transformations, I believe I have already implemented some features in ForImage. I'll need to delve into my development branches to locate them and merge them into the main ForImage branch. However, for other features like filters and anti-aliasing, I might lack the necessary expertise.

If I find some time, I will implement support for lut and Paraview XML files for ForColormap.

I'm excited about the prospect of ForPlot in the future. :)

from forcolormap.

vmagnin avatar vmagnin commented on June 15, 2024 1

I think I have already seen a Fortran project writing in the PNG format, but not sure. But the more important thing is to have Fortran tools to draw bitmaps. For saving, PNM files are sufficient, and if you need a compressed format to save space it is always possible to call external command line tools for conversion.

Just concentrate on the features you need more and you have the expertise for, and you will see later if you can add more or if someone can contribute. The important thing is to have the essential basic functions.

Concerning a ForPlot project, after you have a library for drawing, the main problem I see is fonts to write for example axis titles... You can not access easily the OS fonts without C libraries. But maybe there exist some collections of bitmap fonts that could be imported in a Fortran module, and with the right license.

Thanks again for all your contributions to ForColormap!

from forcolormap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.