Цитата
Если знаешь как можно читать в TMT Pascal JPEG поделись опытом, буду благодарен!
С удовольствием.
А именно: не занимайся бредом, качай библиотеку
GraphiX:
http://stud3.tuwien.ac.at/%7Ee9826443/graphix/gxframe.htmlона под
FPC вообще-то, но и под
TMT вроде пашет, так вот, она поддерживает куча граф. и медиа файлов.
Зачем изобретать велосипед, если он есть?Цитата
GraphiX is a Graphics Library for Freepascal running under DOS, Windows and Linux
It is designed to provide an easy and fast access to various graphics modes
Resolutions from 320x200 upto 1600x1200 and higher at colordepths 8,15,16,24 and 32bits are supported
many drawing primitives - pixels, lines, bars, rectangles, circles, polygonens, ...
mouse-library - colored and size unlimited mouse pointers
image-handling-library - loading BMP, GIF, ICO, JPG, PCX, PBM/PGM/PPM, PNG, TGA, TIF - saving BMP, PPM, TGA
font-library - it supports FNT-bitmap-fonts, CHR-BGI-fonts, VGA-BIOS 16x8 font and Truetype-Fonts
graphics-effects-library - alphablending, saturated add/sub, masking operations, rotating, scaling, ...
triangle-output-library - it can be used for 3D things -flat, gouraud-shaded and textured triangles)
video & animation-library - AVI, FLI/FLC, GIF and MOV (Quicktime)
В крйнем случае, компильши на FPC и затем что надо в DLL пихаешь ...