how do you edit a large image?

BlitzMax Forums/BlitzMax Programming/how do you edit a large image?

you need the $ff to filter out all other bits apart from the byte you are wanting to return (i.e. the byte that you have just shifted). I think when you SHR that 0 bits are brought in from the left so maybe the $ff isn't needed when you shift by 24. There is a rotate bits command in assembly and if you were using that the $ff bitmask would be required.