Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

what are alignment bytes?

Shebang Sunshine
Royal PITA
Join date: 3 Dec 2002
Posts: 765
01-01-2003 21:37
Ok, uploading textures, part 5000.

First the image information:

name is Drawing_Hands
I have it on the root of my E: drive (not the same drive that SL is installed to, but I have successfully uploaded other images from this directory)

pixel size: 781x666 (yes, I know, not square and not multiples of 16, but I keep getting told that SOME people CAN upload "oddly" sized images)

file sizes:
as jpg: 76 kb
as bmp: 1.48 mb
as tga: 1.48 mb

I tried uploading them, one at a time, in the above order.

jpg failed with reason -23016 --- and it kept my money
bmp failed with reason "Can't handle bmp's with alignment bytes yet" -- and did *not* keep my money
tga failed with reason -23016 --- and like its greedy cousin the jpg, kept my money

Need any more info?
Flyk Escher
Registered User
Join date: 20 Mar 2002
Posts: 89
01-02-2003 11:00
i'm not too brite but
try saving the BMP without RLE compression or any other compression. Thats why you got the alignment bite message.
As for what they are - i don't know and I can't find a definition in the last 5 mins of my lunch lol.

I have almost exclusively uploaded targa files.

I tried a few jpg too with no trouble.

The only time I got your error message was when I was uploading, got impatient and started messin with my appearance which I believe taxed the system. Never saw it again.

Were you doing anything else while uploading? Did you open any new windows after initiating the filestream?

Uhm - and I've noticed that I can sometimes upload odd imgs. But I also had that annoying transparency problem for ages.
My 2 cents - flyk :D
_____________________
If you build it they will come.
If you don't someone else will think it up and take yer idea straight outta yer brain!!
Aaron Linden
Linden Lab Staff
Join date: 19 Nov 2002
Posts: 59
01-03-2003 11:37
The BMP file format has many internal versions--as you might expect from a decade-old Microsoft standard. A BMP file needs "alignment bytes" only if its width is not a multiple of four. Supporting "alignment bytes" is definately on my bug list...but somewhere below a bunch of crashers :-)

Flyk, you probably described it elsewhere, so could you point me to your transparency problem?

Thanks!
Aaron