1. Graphics Mode and tru-color file formats
Hello all, I'm gettiing fairly close to an alpha release
on a graphics utility I'm creating in Euphoria, but it still
needs the ability to import JPG and PNG files among others,
I was wondering if anyone new where I could find good
reference to the specs in question.I have one for jpg, but,
it doesn't explain the mechanisms for some of it from an
algorithimic point of view (not to mention I think thier's
an error in the guys math somewhere, the conversion to YCbCr
and back is way off visually (grey green instead of white,
purple instead of red, and I have NO clue what to call
what it doese to blue:( ))
Anyway what I'v got sofar Makes it Really easy to
add new filters to the system (routine_id plus the way Euphoria
can seriously handle sequences is nothing short of wonderfull).
Anyway I digress I really need good reference to tru-color
file formats.
Also anone know what would happen if I send graphics_mode
and value other than one of the pre-defined ones (will sending it
the value for a hi-color mode work?)
Tahnks ahead and sorry bout the big post.
Kasey
2. Re: Graphics Mode and tru-color file formats
>Hello all, I'm gettiing fairly close to an alpha release
>on a graphics utility I'm creating in Euphoria, but it still
>needs the ability to import JPG and PNG files among others,
The JPG compression algorithm is patented (I think by IBM), that's why the
PNG format arose, it was carefully developed so it uses only unpatentable
algorithms. There's a JPG group that has developed a DLL library that allows
JPG file manipulation. I don't remeber it's URL, but just use Yahoo for a
simple search. You can get more information about compression issues on some
usenets (don't ask me which, just search).
Regards,
Daniel Berstein.