To convert .bmp RGB24 pictures to JPEG2000 codestream pictures:
1. Install "Image Magick" software
2. Place the folder "converted" (with files 3_1.bat and  image_to_j2k.exe and .dll files inside) and
files 6.bat and 7.bat into a folder where your .bmp pictures are. Then 
fire 6.bat file and wait! Some time later the black window DOS will close.
After it open the folder "converted". You will see a folder "jpeg2k" with
.j2c pictures.

image_to_j2k.exe (from OpenCinemaTools) and .dll files for it are required