The Generic Image Decoder (GID) is an Ada package for decoding a broad variety on image formats from any data stream to any kind of medium. Examples include in-memory bitmap, a GUI objecct, another stream, floating point data for scientific calculations, a browser element or a device. Animations are also supported. GID features: * Standalone; requires no other libraries or bindings * Completely portable - no OS, CPU, or compiler dependencies * Task safe * Endian-neutral * Free and open source * Pure Ada95 (suitable for Ada2005 and Ada2012 projects) Currently supports BMP, GIF, JPEG, PNG and TGA formats. WWW: http://gen-img-dec.sourceforge.net/
20 lines
566 B
Text
20 lines
566 B
Text
project Construct is
|
|
|
|
for Languages use ("ada");
|
|
for Source_Dirs use ("src");
|
|
for Object_Dir use "obj_safer";
|
|
for Library_Name use "genimgdec";
|
|
for Library_Dir use "lib";
|
|
for Library_Kind use "static";
|
|
|
|
package Compiler is
|
|
for Default_Switches ("ada") use ("-O3", "-gnato", "-ffunction-sections",
|
|
"-funroll-loops", "-fpeel-loops", "-ftracer", "-funswitch-loops",
|
|
"-fweb", "-frename-registers");
|
|
end Compiler;
|
|
|
|
package Builder is
|
|
for Default_Switches ("ada") use ("-C");
|
|
end Builder;
|
|
|
|
end Construct;
|