Force image to be a RGB image (there is no writer to convert ARGB type to Bitmap... 50/16150/3
authorVincent COUVERT <vincent.couvert@scilab-enterprises.com>
Thu, 12 Mar 2015 13:36:53 +0000 (14:36 +0100)
committerVincent COUVERT <vincent.couvert@scilab-enterprises.com>
Thu, 12 Mar 2015 14:26:49 +0000 (15:26 +0100)
commit814e090c1e336aae6a540ec6030c991af0c7b4d6
treeab8b069e2d563f2609206db0929ffdceb91f3535
parent66ddb1799e3ad74b9ce9145474a46783fb33b756
Force image to be a RGB image (there is no writer to convert ARGB type to Bitmap format).
Since JoGL 2.2.4, it seems that the image got from a JoGLCanvas is a ARGB one and no more a RGB one.

To test:
test_run graphic_export bmp_non_empty_file
test_run graphic_export gif_non_empty_file
test_run graphic_export jpg_non_empty_file

Change-Id: Ic5111ccccc153c04a750cb3185cfb149f7420328
scilab/modules/graphic_export/src/java/org/scilab/modules/graphic_export/Export.java
scilab/modules/scirenderer/src/org/scilab/forge/scirenderer/implementation/jogl/JoGLCanvas.java