Results for "Category: Graphics/ Sound"
You can use this code to create simple bar charts on the fly. Currently, it only works well with values greater than 1. ZIP file includes code and sample usage. It's not perfect, but it works. Please vote if you find it useful. http://searchforcode.com
Example on how to shape your form to fit a the shape of an image.
This script allows you to specify an image to fall down the entire height of the web browser. Images drop at random speeds. The number of images dropping may be specified as well. This particular script demonstrates how to drop an image related to the current month. This gives off an interesting effect.
Allows you to read the width and height for GIF, JPEG (JPG/JFIF), Bitmap(BMP), and PNG files. You can upload a file or load a binary file from the server in the demonstration. This is great when you allow users to Upload files and need to ensure that they fit within a specific set of boundries (ie - uploading banners). Update - Now supports AVI, MOV, MPG/MPEG, and SWF with support from my brother Lucas Moten. JPEG files have also been fixed to read correctly.
Reads the Width and the Height of a GIF image. Really nice to have if you need to limit your users with specific image dimensions for profile images, banners, buttons, etc.
Allows you to create 1x1 images of any color including transparent images. (Images can be streatched by defining height and width in image tag)
This version of the Color Picker supports just about any browser that uses javascript - Including Netscape 3. The downfall is that you "must" run it with a server that allows ASP. A script is included to create "dynamic" images of various colors. Thus - more bandwidth is used to allow visitors to choose colors. It is still a great asset to anyone who wishes to allow users to pick colors dynamically to affect the sites layout and design instantly.
Lists thumbnail images within the current directory. Very simple beginner stuff dealing with file scripting object. Handy for viewing your images quickly. Just copy the code and paste it a file called default.asp. Then view the directory on your website.
Grab the opposite 6 character HEX color. This sums up David Weirs Color invert script with just one line of code. See his original code at http://www.pscode.com/vb/scripts/showcode.asp?txtCodeId=7176&lngWId=4 Be careful when comming close to middle gray scale (808080). opposites are same.
Prevent content and processes from being misused for spam or inappropriate use. An image is displayed to the end-user. An attempt is made to prevent OCR recognition by agents, spiders, or artificial intelligence to gain access to content or processes. The image will display a “code” to the user that they are required to enter into a field provided.
Converts an image to HTML table cells. Probably done many times before. This one also creates javascript to invert the image 1 pixel at a time.
Allows you to effortlessly play wave files in a seperate thread while your application continues to operate. Now supports playing embedded resource files and Streams.
This is an old library that I was working on about a year ago. I recently dug up the code for another project and saw that I had built it in a way that could be nicely packaged. Using the xml file provided, it is easy to add new tags as they become standardized. Also, it has a nice feature of making data readable in English. Swap the XML with your own language to support multilingual applications/websites.
This is a class that can turn any bitmap based image format into either, bmp, jpg, gif, tif, or png formats. It also includes setting the quality for Jpg type images. See the code in the module section for example usage. To compile this code, at the command line type vbc image.vb /r:system.drawing.dll . I will add more capabilities in the future. IMPORTASNT NOTE.. add an extra 's' to the words Clas. Sorry but I had to remove the s because PSC's really bad parsing for bad words saw the last three letters and wouldnt let me post it..Very bad form PSC!
thanks to the ImageAnimator class you can easily animate an animate gif on your form. change the gif location in code to one on your system of your choice then run the batch file to compile.
this code sets the screen into VGA mode and fades the screen different colors by pressing certin keys!!!! this code is really easy to understand even for a c++ newbie also this code is very well commented just incase if theres something that you dont understand =]
Draw a single Julia Fractal (Programable) using Win32API and resource file; Use a complex number class for math stuff. Small program; use Z'=Z*Z+C
This is a fully skinnable Spectrum Analyser plugin for Winamp 2.x. It is finished to the point of being usable but not by any means complete and will continue to be updated. Any suggestions/hints would be appreciated. Features: Skinnable, Customisable bar width/spacing/drawing style, Dockable, Optional Peaks, Adjustable Frame rate (1-100 fps), Double Size mode, config dialog box.
This tutorial will teach you how to use the Windows waveOut multimedia functions. It also explains a little about how audio is stored in the digital form. I hope this tutorial is useful. Full source code is included as is a downloadable version wrapped in an MSVC++ project.
It's a 3d Bar winamp Plugin