Hi, I'm teaching myself Nim, and I'd like to get engaged in the community in some small way.
I was looking for small projects to get my hands dirty, and I was maybe thinking about implementing a command line function to turn a .bmp into a .jpeg.
I could definitely use some advice!
Here are some specific questions I have...
Does anyone have other good ideas for small but less than trivial programs to write?
Does anyone know any relevant Nim libs I can take a look at?
Is anyone willing to suggest a rough schematic of the proper Nim-idiomatic way of achieving this?
Thanks so much in advance!
Hello!
I usually like to start with either an IRC bot or something like a command line Tic Tac Toe game.
There is a lot of libraries which allow you to convert Bitmaps to JPEG's. LibJPEG can probably do it and is the most obvious choice. I'm afraid I'm not really familiar with these libraries enough to suggest anything else. I'm sure others will.
The Nim way of doing this is to find a wrapper for a C library (or write your own) which deals with image conversion and use it.
Hope this helps.