View Single Post
Old Jan 5th, 2007, 11:14 AM   #4
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Hard to say, since I don't know the format you're using. It's obvious at a glance, however, that one doesn't just replicate a pixel 3 times unless one is enlarging the image in a very rough way. It also looks strange that you're varying x more rapidly than y, since x is the major dimension in the array.

This response is based entirely on your code (which is hard to read, since you didn't use code tags). You have explained your goal and your resources in only the most cursory way and I'm not familiar with the Borland compiler/toolset.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote