Solved

Graphics Question?

Posted on 1998-01-23
3
137 Views
Last Modified: 2010-04-04
This is a general question, and I would just like someone to point me in the right direction here. (In other words, I'm not looking for someone to display any code :)
I'm just curious how some programs display moving graphic pictures on the screen without the background "square". In other words, I can put a black "Timage" on a screen and slide it across, but the entire "square" moves across. I'm curious how some programs show only the image, for example if it were a person walking across your screen, the screen background would show and only the person itself (without a background "square" around him) would show? Is there a particular language that is better for this type of graphics, or can someone point me towards some info on how this is done?  
0
Comment
Question by:jexd99
3 Comments
 

Expert Comment

by:dr_gonzo
Comment Utility
The technique is called BitBlt (pr: Bitt Blitting).

Search for it on the internet, and you'll drown in documentations on how to, why to etc.

You can use any language, though I'd recommend C

Dr. Gonzo
0
 

Accepted Solution

by:
FireBird earned 40 total points
Comment Utility
Hi there,
Since your messsage is in the delphi programming area, and on the other side u asked for general answer i will tell u how it can work in any good visual programming lang (delphi,vb...):
A direct answer is that u need to take an image of what u want and to fill the background of the image with - transparent - color. u can do it with any good GIF editor and get it into delphi and tell delphi to use transparent colors and walla ! the "square" isn't there anymore.
(if u want your delphi to be able to show GIF files u need to get a component for it, search for it in the net, if u want i can send u a couple, my email is firebird666@usa.net)
- E-mail me if u want the GIF or more information, this text box is small.. :_>
0
 

Author Comment

by:jexd99
Comment Utility
Thanks for the info.  
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now