Advertisement

Results for "Category: Graphics/ Sound"

7_2009-2012 #225546
Colored Text

This program is a very basic animation. It uses the conio.h header file. It goes to the center of the screen, sets the text color, pauses for a second, and then resets the text and background color and prints more text. This is a verrrrrrrry basic animation.

7_2009-2012 #225560
World Map

The map of the world holds coordinate pairs to generate map images from database. This data can be used to draw maps on server side in PNG, JPEG, GIF, WBMP formats and to build click areas (image maps) for processing on client side. http://www.tonec.com/download4.html - ActiveImage component.

7_2009-2012 #225711
Save and Retrieve Image from Database

Save and Retrieve Image from MS Access Database.

7_2009-2012 #225831
Gantt Chart

I needed a Gantt Chart to my application, but couldn't find one that was good and free, so I had to make one myself. With this component and a few lines of code you can easily add one yourself too. This updated version includes a scroll bar (which auto-hides when not needed)

7_2009-2012 #226130
Bitmap Animation Viewer

This program loads bitmaps as frames of animations. Then, you can play back the frames. The program lets you add frames, clear all the frames, play the animation, and stop the animation. You can also adjust the speed at which the animation is played. Its just a simple tool I wrote in a couple hours that I use to view the animations I intend to use in some of my other programs. Its also a good learning tool, since I've got a menu, as well as buttons and a dialog box. The program works, but there are currently very few options.

7_2009-2012 #226138
Image Histogram Equalization

Program to open & view a .bmp file in color or convert it to 256 level grayscale & perform Histogram Equalization, if required. (with sample images)

7_2009-2012 #226666
Plotting sine, cosine and tangential waveforms

This program is part of a larger project; one which involves plotting the curve for any given eqyuation. If someone wants to develop that program jointly with me, or has any useful tip concerning it please email me. Meanwhile check out this program...

7_2009-2012 #226981
Translucent window under Win9x/ME/2000

This is a nice example which shows you how to create a translucent window under Windows 9X/ME. Windows 2000/XP has an own function for this. Windows 98 AlphaBlending functions, but Windows 95 has nothing, so I decided to use a external function for AlphaBlending (win9x) and I used for Windows2000 the SetLayeredWindowAttributes function. The functions in gdiu.cpp were written by Graus an other programmer who works for a Programmer's Journal. To use the code in your own applications copy the files win9Xtranslucent.cpp, win9Xtranslucent.h, win2000translucent.cpp, win2000translucent.h into your project and look at translucent.cpp, win9Xtranslucent.h, win2000translucent.h how to use the functions. IMPORTANT: The code is not perfect! So it can be optimized. If you want to optimize the code do it like you think it's good for your project :-) For best optimitation the code must be rewritten into DirectX code. HOW DOES IT WORK: When the application starts a copy of the desktop will be made (WM_CREATE). On the first WM_PAINT message a copy of the window will be made. The WM_PAINT message is the message where the most work is. First we calculate the size and position of the window, then we check the intersection between the backuped size, position and the new size, position. If there is a intersection we copy a section from our background backup bitmap into the new background bitmap to hide the old window. Then we copy the new position, size to the backup position, size. Now we create 2 bitmaps: the first is a copy of the window rectangle from the screen (without the window), the second is a copy of the window. This 2 bitmaps are the arguments of the AlphaBlendU function which will create a new bitmap. This bitmap will be drawn on the screen. And at last we create a new copy of the screen. The old copy is the background backup bitmap. On WM_WINDOWPOSCHANGED message we POST a WM_PAINT message to our window for updating. NEW: In this version the size of the window can be changed! _____________________________ Please vote it :-) Sorry for my bad english.

7_2009-2012 #227001
Image Resize (Aspect Ratio, Actual Resize)

I've search the PHP codes, found two folks who have published resize code. Problem with one , is that it only gives you the new size but you set it in the HTML's IMG tag, which is dumb in my opinion because you still are downloading the entire image. Another submision did the same, except you could use a width, but they did a loop decreasing the size times .5 until it was close as it can get to the width you wanted, problem with this was it was slow. In either case neither actually resized the image just defined a new size. I took an hour did some reasearch at php.net, and found basic information to make this code.

7_2009-2012 #227139
How to compile sound files directly into an exe.

Shows a technique for having wav files compiled directly into an executable.

7_2009-2012 #227209
Resizable Image viewer, slideshow, mostly for jpg) - "Quick Flipper"

This app is a tight little image viewer. It's resizable and the aspect ratio is not affected during resize. It allows for slideshow, stay-on-top, image list editing. It's mostly for jpg's but the ctrl that displays the image can be used for any image type.

7_2009-2012 #227210
Artificial Life/Evolution Simulator. OpenGL, 3D world environment.

Pretty cool 3D lower level AI simulator. There is a food chain. The low creatures eat the stationary food, the high creatures eat the low creatures. Once a pair 'mates', the mother carries eggs with her for a while. Once a counter is reached, the eggs hatch. This counter varries with genetics. When a pair mates, the child's DNA is composed of 40% mother's genes, 40% father's and 20% random. The genes contain information that controls the creatures behavior. This behavior works like Maslow's heirarchy of needs. There are 4 states, Look For Food, Look For Mate, Run Away, Roam Around. Genes contain a priority for each state. A creature will not do a priority 2 state if the requirements for priority 1 are not satisfied. These tolerances for these requirements are also contained in the genes.

7_2009-2012 #227494
CapturePicture

This code uses Video for Windows to capture single frames from a system video source in a specified time interval(in seconds). The Frames are saved as Bitmaps or as one AVI File. Don't forget: You need a videodevice for this to work!

7_2009-2012 #227678
Back Buffer

Here is an example of how to use back-buffer device contexts for on-screen animation; the basis for all graphical games

7_2009-2012 #227679
Bitmap Loading

Shows how to load bitmaps of any size and stretch them onto a window.

7_2009-2012 #227680
Shape window to bitmap

This example shows you how to shape your applications window to any bitmap in a resource really good looking effect for your apps.

7_2009-2012 #227687
Bitmap Fading

This example shows how to fade one bitmap into another. Shows how to use GetDIBits for fast image manipulation. Also features images of Anna Kournikova :O).

7_2009-2012 #227973
DOS Paint

A fully functional 2D Graphics Editor ( Screen Editor ), that is an MS Paint like utility for DOS.

7_2009-2012 #228068
Electronic address book

This is a nice electronic address-phone book. Is completely designed in graphic mode. With this program you can save, delete and search information of your friends, family and companies. To use this program you have to increase the memory that borland C use, at least 256 Kb. I wrote this program to get the final grade in C programming. This program is written in spanish. Please, vote for this code!!

7_2009-2012 #228092
Graphics.h

This is the graphics header file for all of you who need for making graphics. if you need any other header files, don't hesitate to ask... and yes please comment on the programs I have writen.

Languages
Top Categories
Global Discovery