Array resizing [message #28000] |
Wed, 14 November 2001 14:20 |
Logan Lindquist
Messages: 50 Registered: October 2001
|
Member |
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>What's the best way to take a byte array that is
(1,256,256) and make it a byte array that is just (256, 256)? Looping would seem
to take a while. I can't figure out at this moment of a way to store the x and y
into temp variables and then recopy them into another byte array. Maybe there is
something that will just get rid of the damn 1, without doing either.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>gracias, grazie, danke, merci,
agradeça-o</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Logan</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>
|
|
|