Avatar Maker: Images in Access
Avatar Maker: Images in Access
Avatar Maker: Images in Access
Avatar Maker: Images in Access
Avatar Maker: Images in Access
Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access
Avatar Maker: Images in Access Avatar Maker: Images in Access
Avatar Maker: Images in Access
Go Back  Xtreme Visual Basic Talk > > > > Avatar Maker: Images in Access


Reply
 
Thread Tools Display Modes
  #1  
Old 09-18-2004, 04:11 PM
lebb's Avatar
lebbAvatar Maker: Images in Access lebb is offline
Disillusioned Code Poet

Retired Moderator
* Guru *
 
Join Date: Apr 2002
Location: Tennessee, USA
Posts: 12,808
Talking Avatar Maker: Images in Access


Attached is a little app that allows you to create avatars from a set of images stored in an Access database. I've also included an option to allow you to add more graphics if you like, or modify existing graphics.

I wrote this primarily to teach myself ADO.NET, and this will demonstrate how to store and retrieve both "standard" data and BLOB (binary) data from a database.

It still has some shortcomings. If you choose custom (non-websafe) colors and no background image, the transparency may not save correctly, and the dithering is far from ideal. However, I don't have the time at this point to delve into manipulating the color indices of GIF files, and it seemed that adding extensive code to do so would detract from the ADO.NET examples anyway. Also, it creates 75x75 avatars, the proper size for this site. If you wanted to use it for AIM/MSN buddy icons, or avatars for another site with different size restrictions, you'd probably want to tweak it to allow other sizes (and might need a whole new set of graphics for that).

The graphics there are what I could draw within the span of a week or so (plus the backgrounds from a free stock photography site, with some extensive editing), and it's not as complete a set as I would like. If I draw more at some point, I'll post them. If you draw some that you'd like included, PM me to inquire about it.

So feel free to use it as you like, improve on it, add your own graphics, have fun. Please PM me if you find bugs other than the issue mentioned above.
Attached Files
File Type: zip AvatarMaker_src.zip (115.3 KB, 307 views)
__________________
Laura

Ita erat quando hic adveni.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Avatar Maker: Images in Access
Avatar Maker: Images in Access
Avatar Maker: Images in Access Avatar Maker: Images in Access
Avatar Maker: Images in Access
Avatar Maker: Images in Access
Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access Avatar Maker: Images in Access
Avatar Maker: Images in Access
Avatar Maker: Images in Access
 
Avatar Maker: Images in Access
Avatar Maker: Images in Access
 
-->