0 Replies Latest reply on Apr 6, 2010 12:43 AM by sankarbala118

    Linux system not considered scalelimited property when capture image


      Hi all,


      I have used the following coding to generate the snap in 300 DPI.

      var imageSnapShot:ImageSnapshot = ImageSnapshot.captureImage(outtercvs, dpi, new JPEGEncoder(100),false);


      var ba:ByteArray = imageSnapShot.data;


      var f:FileStream = new FileStream();
      var file : File = new File(fileName);
      f.openAsync(file, FileMode.WRITE );


      My problem is the resulting snap have wrong width and height only in linux system.


      For ex : if we generate 6*10 page in 300 dpi. The resulting snap should have width of 1800 and height of 3000.I could get these width and height in widows system. But when i generate the snap in linux system. I could not get that width and height. It proportionately resized according to the maximum bitmap width and height.


      I think Linux system not considered the scalelimited property.


      Is there any solutions to resolve it? anyone can help me?


      Thanks in advance


      Bala . N