Board index » delphi » New at graphic programming

New at graphic programming

Hi all,

I have been using delphi for just over a year getting to grips with it
slowly :-) I have been mainly just doing number crunching, writing new
classes, doing file manipulaton etc... BUT! I have been given the task of
writing an app with alot of graphical problems involved ie

Huge data files that need to be displayed as images (MB's of data), grid
overlayed or around the image and controls on the image (for adding arrows
and text etc) which will have to be able to be moved around etc.

The image will have to be able to be zoomed / panned (at a reasonable
speed), I can see problems arising such as data storage in memory I know
delphi or windows only allows a certain BitMap size in memory anyone know
the limit? So do I read from file everytime the image is manipulated?

What I am after is links or recommendations for books on graphical
programming for the sort of problems above or ones I am definately going to
encounter! :-), I have been to amazon and I can only find books on OpenGL
and DirectX (which is there is still not many!).

If anyone can help me find any helpful information it would be much
appriecated :-)

Thanks
Ross

 

Re:New at graphic programming


About the large bitmap problem, I would keep the data on the disk and keep
only 1 or 2 mb of it in ram at a time.

Quote
"Ross Shaw" <rosss...@peakndt.com> wrote in message

news:3c065e40$1_1@dnews...
Quote
> Hi all,

> I have been using delphi for just over a year getting to grips with it
> slowly :-) I have been mainly just doing number crunching, writing new
> classes, doing file manipulaton etc... BUT! I have been given the task of
> writing an app with alot of graphical problems involved ie

> Huge data files that need to be displayed as images (MB's of data), grid
> overlayed or around the image and controls on the image (for adding arrows
> and text etc) which will have to be able to be moved around etc.

> The image will have to be able to be zoomed / panned (at a reasonable
> speed), I can see problems arising such as data storage in memory I know
> delphi or windows only allows a certain BitMap size in memory anyone know
> the limit? So do I read from file everytime the image is manipulated?

> What I am after is links or recommendations for books on graphical
> programming for the sort of problems above or ones I am definately going
to
> encounter! :-), I have been to amazon and I can only find books on OpenGL
> and DirectX (which is there is still not many!).

> If anyone can help me find any helpful information it would be much
> appriecated :-)

> Thanks
> Ross

Re:New at graphic programming


One popular place for all kinds of graphics how-to and interesting
stuff, incl. dealing with big images, is http://www.efg2.com/  Follow
the link to Computer Lab and happy browsing...

Quote
Ross Shaw wrote:
> What I am after is links or recommendations for books on graphical
> programming for the sort of problems above or ones I am definately going to
> encounter! :-), I have been to amazon and I can only find books on OpenGL
> and DirectX (which is there is still not many!).

--
Daren Scot Wilson
dwil...@arcscience.com
ARC Science Simulations

Re:New at graphic programming


I think if you use JPEG images, and a TFilestream, there is no limit to the
image size (except the size of your disk)?

However, I understand the Delphi JPEG unit is unreliable above 1 megabyte.
I've heard the Intel JPEG unit
http://www.intel.com/software/products/perflib/ijl/index.htm works with 100
Mb + satellite images. This is free DLL, and although meant for C++, has a
Delphi declarations unit and a Delphi example. It is faster than Delphi JPEG
unit too.

Quote
Ross Shaw <rosss...@peakndt.com> wrote in message news:3c065e40$1_1@dnews...
> Hi all,

> I have been using delphi for just over a year getting to grips with it
> slowly :-) I have been mainly just doing number crunching, writing new
> classes, doing file manipulaton etc... BUT! I have been given the task of
> writing an app with alot of graphical problems involved ie

> Huge data files that need to be displayed as images (MB's of data), grid
> overlayed or around the image and controls on the image (for adding arrows
> and text etc) which will have to be able to be moved around etc.

> The image will have to be able to be zoomed / panned (at a reasonable
> speed), I can see problems arising such as data storage in memory I know
> delphi or windows only allows a certain BitMap size in memory anyone know
> the limit? So do I read from file everytime the image is manipulated?

> What I am after is links or recommendations for books on graphical
> programming for the sort of problems above or ones I am definately going
to
> encounter! :-), I have been to amazon and I can only find books on OpenGL
> and DirectX (which is there is still not many!).

> If anyone can help me find any helpful information it would be much
> appriecated :-)

> Thanks
> Ross

Other Threads