Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Scott H Tech PDF Image Converter - page number to render problem
Started by utain99_macair Nov 01 2018 08:24 AM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

utain99_macair

[GLOBAL: userInfoPane.html]
utain99_macair
  • Observer

  • 1 posts
  • Corona SDK

Hi Scott

 

I've activated the PDF Image Converter plug-in, downloaded and tested by Android mobile

 

and also i read plugin document in below topic

-----------

pdfImageConverter.toImage(pdfFile, pageNum, imagePath)
--convert pdf to image
pdfFile(string)(required), path to import pdf file via pathForFile
 
pageNum(number) page number to render (deafult is 0)
 

 

imagePath(string)(required), path to export image file via pathForFile
-----------
 
, so in sample project i change sample.pdf to pdf file with have many pages,
and then i set to show image that will convert from sample.pdf in page 4 by code below
 
pdfImageConverter.toImage(system.pathForFile( "sample.pdf"), 4,system.pathForFile("pdfImage.jpeg", system.DocumentsDirectory))  
 
but unfortunately image with convert from sample.pdf not render from page 4 (it render from page 1)
 
or i missing somethings, Any help appreciated.
 
Regards,
Jirapas
 

Attached Files



[TOPIC: post.html]
#2

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,769 posts
  • Enterprise

This has been patched




[topic_controls]
[/topic_controls]