Arrsoya / jmupdf

Automatically exported from code.google.com/p/jmupdf
1 stars 0 forks source link

Jmupdf Crash and Forces Application to Quit. #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Render pdf in file.

Code used.
page = doc.getPage(pageNo);
PdfDocument doc = new PdfDocument(file.getAbsolutePath(), 500); 
page = doc.getPage(1);  
int rotate = Page.PAGE_ROTATE_AUTO;
ImageType color = ImageType.IMAGE_TYPE_RGB; 
int antiAliasLevel = 8;
Float scale = 1f;
PageRenderer render = new PageRenderer(page, scale, rotate, color);
render.setAntiAliasLevel(antiAliasLevel);
render.render(true); //<-- Crash here
img = render.getImage();
render.dispose();

What is the expected output? What do you see instead?
Pdf Rendered

What version of the product are you using? On what operating system?
latest

Please provide any additional information below.
Jmupdf crashes and forces the application to quit.
See the crash log for more details in the attached files.

Original issue reported on code.google.com by terry.cl...@gmail.com on 11 Feb 2014 at 6:04

Attachments:

GoogleCodeExporter commented 9 years ago
Hi I have just tested this with you new version 5..... Awesome Version 5 have 
fixed this too.... Fantastic job welcome back. 

Just so you know......
On version 5... 
PageRenderer render = new PageRenderer(page, scale, rotate, color);

The scale on this does not work.
however you can add : render.setZoom(scale); and it does.

Would you like me to add this as an issue.
To me it does not matter but Just thought you should now.

Thank you so much for all of your hard work and I look forward to testing the 
mac version when you upload it.

Original comment by terry.cl...@gmail.com on 7 Apr 2014 at 10:21

GoogleCodeExporter commented 9 years ago
Thanks! Please add the zoom issue as a new request and I will take care of it.

Original comment by pedro.ri...@gmail.com on 8 Apr 2014 at 8:42

GoogleCodeExporter commented 9 years ago
PageRenderer issue is now fixed.

Thanks,

Pedro

Original comment by pedro.ri...@gmail.com on 9 Apr 2014 at 1:47