Namely, when converting from the raster sequence to the block sequence, the I/O buffer 106 inputs raster data from the outside such as a camera or the like and is divided into blocks by using the block buffers 104 and 105, and the block data is outputted from the I/O buffer 107 to an image compressing unit or the like.