On Saturday, October 4, 2014 10:04:26 PM UTC+2, Dennis Lee Bieber wrote:
> On Fri, 3 Oct 2014 04:46:55 -0700 (PDT), Nahro Nadir <
nahr...@gmail.com>
>
> declaimed the following:
>
>
>
> >I'm new in Ada programming language, I want to read and manipulate images in Ada without binding other libraries like opencv. Is there any way to read images in Ada? Or convert it to pixel values (RGB) especially bitmap images.
>
>
>
> Well, technically, they are all just binary files...
>
>
>
> The problem is, each format encodes the data in a different way, and
>
> you'd need to read the specification for those formats and write code that
>
> translates them to whatever you want...
>
>
>
> There is a big difference between a format using RLE vs JPEG vs ILBM.
>
> (The Amiga native graphics were bit-plane oriented, so one had a matrix of
>
> all the least-significant bits, followed by a matrix of next significant
>
> bits, etc. until the most-significant bits; other formats have all bits for
>
> one pixel packed as a single item)
>
>
>
> Or use a library that someone else has already created to do the same
>
> thing <G>
>
>
>
>
>
> --
>
> Wulfraed Dennis Lee Bieber AF6VN
>
>
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Well i couldn't found a library which is written in Ada and i dont want to use binding to other languages because its very slow.