Link to home
Start Free TrialLog in
Avatar of artis
artis

asked on

picture opening in Turbo Pascal

How can I open a picture in Turbo Pascal.
I want to let my programms to be designed well.
Where I can download units which helped me to do it.
Avatar of vikiing
vikiing

¿What do you mean when you say "open a picture"?
what type of picture do you wish to display ?
ie: BMP, PCX, GIF etc.
and what resoluation and color depth
ie: 800x600x256 Colors
You should learn more about graphics formats (PCX, BMP, GIF, TIFF, Etc.), that is for reading this files, and about pointers too, 'cos you wouldn't know how big is the image so you can create an array (no way man), with pointers you can create dinamic variables and stuffed with a lot of bytes (well actualy 64kb, but you can use some pointers to hold more memory), so you see is not that simple, but not imposible, yet you can have help, in here i can't explain all the details but you can do it like i did, read, learn and practice with a bounch of samples in this address (plain text man, no announces, no nothing)

    ftp://x2ftp.oulu.fi/pub/msdos/programming

HEY what are you waiting man go for it... :)
Is this a set up? A chappie called Artis (Artist) is asking about showing pictures. Very suspicious!
>There is no easy way to draw standsard images in pascal (except, of course, for downloading a unit which does so).
>
>If you would like to develop your own image viewer, I suggest you visit this site: http://www.dcs.ed.ac.uk/~mxr/gfx/ (The Graphics File Format Page).
>You can find there all specifications and pascal source to implement them.
>Sources can be found here: http://www.dcs.ed.ac.uk/~mxr/gfx/utils-hi.html
Author: alona
ASKER CERTIFIED SOLUTION
Avatar of jack_p50
jack_p50

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial