Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Thierry Douez
2013/9/18 Ray Horsley r...@linkit.com


 So there's apparently no solution to this seemingly common need to be able
 to view and convert PDF files to single PNG's or JPEG's in Livecode.

 Suggestions?



​Hi Ray,


There is a free pdf reader for Win32 / Win64 there:
 http://www.soraxsoft.com/index.html

and they have a ​
Sorax PDF SDK DLL
​ too.

A couple of years ago, I've built an external which roughly
creates an image object in LC out of a pdf page, using their DLL.

If you are interested​, just let me know.​

​Regards,

Thierry​



Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Graham Samuel
Just to say that I can endorse Thierry's external, which I'm using in a 
commercial product. I have not in fact tried it on Windows 8, but it should be 
fine as it works in Windows 7 and XP - if Thierry says it will work with 
Windows 8, I'm sure it will. It does exactly what I needed it to do, which is 
to make a bitmap within a PDF (in my case a geographical map) available to 
LiveCode.

My product really doesn't need a Mac or a Linux version, but I must say it 
would be good if a robust cross-platform solution were available. I think it 
would be possible to code one entirely natively, but it would be a big job. One 
day... In fact there is a cross-platform program out there in the Open Source 
world, ImageMagick, but in my case I couldn't reconcile either the licensing 
terms or the way one was supposed to integrate it (or not) into one's product 
with what I needed, so Thierry came to my rescue.

HTH

Graham

On 23 Sep 2013, at 08:53, Thierry Douez wrote:

 2013/9/18 Ray Horsley r...@linkit.com
 
 
 So there's apparently no solution to this seemingly common need to be able
 to view and convert PDF files to single PNG's or JPEG's in Livecode.
 
 Suggestions?
 
 
 
 ​Hi Ray,
 
 
 There is a free pdf reader for Win32 / Win64 there:
 http://www.soraxsoft.com/index.html
 
 and they have a ​
 Sorax PDF SDK DLL
 ​ too.
 
 A couple of years ago, I've built an external which roughly
 creates an image object in LC out of a pdf page, using their DLL.
 
 If you are interested​, just let me know.​
 
 ​Regards,
 
 Thierry​
 
 
 
 Thierry Douez - http://sunny-tdz.com
 Maker of sunnYperl - sunnYmidi - sunnYmage
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Thierry Douez
​Hello Graham,
​

2013/9/23 Graham Samuel livf...@mac.com

Just to say that I can endorse Thierry's external, which I'm using in a
 commercial product. I have not in fact tried it on Windows 8, but it should
 be fine as it works in Windows 7 and XP - if Thierry says it will work with
 Windows 8, I'm sure it will. It does exactly what I needed it to do, which
 is to make a bitmap within a PDF (in my case a geographical map) available
 to LiveCode.


​Thanks for your endorsement.

Actually, I've never tried it​

​on Windows 8, but considering the code of the external,
this should not be a problem. ( don't have a win8 box here )
​


 My product really doesn't need a Mac or a Linux version, but I must say it
 would be good if a robust cross-platform solution were available. I think
 it would be possible to code one entirely natively, but it would be a big
 job. One day... In fact there is a cross-platform program out there in the
 Open Source world, ImageMagick, but in my case I couldn't reconcile either
 the licensing terms or the way one was supposed to integrate it (or not)
 into one's product with what I needed, so Thierry came to my rescue.

 HTH

 Graham

 On 23 Sep 2013, at 08:53, Thierry Douez wrote:

  2013/9/18 Ray Horsley r...@linkit.com
 
 
  So there's apparently no solution to this seemingly common need to be
 able
  to view and convert PDF files to single PNG's or JPEG's in Livecode.
 
  Suggestions?
 
 
  ​Hi Ray,
 
  There is a free pdf reader for Win32 / Win64 there:
  http://www.soraxsoft.com/index.html
 
  and they have a ​
  Sorax PDF SDK DLL
  ​ too.
 
  A couple of years ago, I've built an external which roughly
  creates an image object in LC out of a pdf page, using their DLL.
 
  If you are interested​, just let me know.​


Regards,

Thierry


Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Roger Eller
Hi Thierry,

I too could use such a great external.  We use PDFs extensively, and it has
been an ongoing need to access them with LiveCode (on Windows).  Do you
plan to market your external to the LiveCode Community?

One question:  Does it offer any control over the bitmap resolution?

~Roger
On Sep 23, 2013 7:10 AM, Thierry Douez th.do...@gmail.com wrote:

 Hello Graham,
 

 2013/9/23 Graham Samuel livf...@mac.com

 Just to say that I can endorse Thierry's external, which I'm using in a
  commercial product. I have not in fact tried it on Windows 8, but it
 should
  be fine as it works in Windows 7 and XP - if Thierry says it will work
 with
  Windows 8, I'm sure it will. It does exactly what I needed it to do,
 which
  is to make a bitmap within a PDF (in my case a geographical map)
 available
  to LiveCode.
 

 Thanks for your endorsement.

 Actually, I've never tried it

 on Windows 8, but considering the code of the external,
 this should not be a problem. ( don't have a win8 box here )
 


  My product really doesn't need a Mac or a Linux version, but I must say
 it
  would be good if a robust cross-platform solution were available. I think
  it would be possible to code one entirely natively, but it would be a big
  job. One day... In fact there is a cross-platform program out there in
 the
  Open Source world, ImageMagick, but in my case I couldn't reconcile
 either
  the licensing terms or the way one was supposed to integrate it (or not)
  into one's product with what I needed, so Thierry came to my rescue.
 
  HTH
 
  Graham
 
  On 23 Sep 2013, at 08:53, Thierry Douez wrote:
 
   2013/9/18 Ray Horsley r...@linkit.com
  
  
   So there's apparently no solution to this seemingly common need to be
  able
   to view and convert PDF files to single PNG's or JPEG's in Livecode.
  
   Suggestions?
  
  
   Hi Ray,
  
   There is a free pdf reader for Win32 / Win64 there:
   http://www.soraxsoft.com/index.html
  
   and they have a 
   Sorax PDF SDK DLL
too.
  
   A couple of years ago, I've built an external which roughly
   creates an image object in LC out of a pdf page, using their DLL.
  
   If you are interested, just let me know.
 

 Regards,

 Thierry

 
 Thierry Douez - http://sunny-tdz.com
 Maker of sunnYperl - sunnYmidi - sunnYmage
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF's to PNG's on Windows 8

2013-09-23 Thread Thierry Douez
Hi Roger,

Sure, you can get it.

And about the bitmap resolution, yes, it works but again,
as I did this job a couple of years ago, I have to dig in this project
for the details, which I can't right now.

Please, contact me off-list for more info.

Kind regards,

Thierry


2013/9/23 Roger Eller roger.e.el...@sealedair.com

 Hi Thierry,

 I too could use such a great external.  We use PDFs extensively, and it has
 been an ongoing need to access them with LiveCode (on Windows).  Do you
 plan to market your external to the LiveCode Community?

 One question:  Does it offer any control over the bitmap resolution?

 ~Roger
 On Sep 23, 2013 7:10 AM, Thierry Douez th.do...@gmail.com wrote:

  Hello Graham,
 
 
  2013/9/23 Graham Samuel livf...@mac.com
 
  Just to say that I can endorse Thierry's external, which I'm using in a
   commercial product. I have not in fact tried it on Windows 8, but it
 
 ​ ​
 should
 ​ ​
 be fine as it works in Windows 7 and XP
 
 ​  if Thierry says it will work ​
 with
 ​ ​
 Windows 8, I'm sure it will.

 ​
 ​ ​
 It does exactly what I needed it to do

 Thanks for your endorsement.
 
  Actually, I've never tried it
  on Windows 8, but considering the code of the external,
  this should not be a problem. ( don't have a win8 box here )
   HTH
  
   Graham
  
   On 23 Sep 2013, at 08:53, Thierry Douez wrote:
  
2013/9/18 Ray Horsley r...@linkit.com
   
   
So there's apparently no solution to this seemingly common need to
 be
   able
to view and convert PDF files to single PNG's or JPEG's in Livecode.
   
Suggestions?
   
   
Hi Ray,
   
There is a free pdf reader for Win32 / Win64 there:
http://www.soraxsoft.com/index.html
   
and they have a
 ​ ​
 Sorax PDF SDK DLL
 ​ ​
 too.
   
A couple of years ago, I've built an external which roughly
creates an image object in LC out of a pdf page, using their DLL.
   
If you are interested, just let me know.




Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: PDF's to PNG's on Windows 8

2013-09-18 Thread Andrew Kluthe
In the past I have used pre-rolled command line utilities for that. I am
not sure if this is the specific one I use, but I used imagemagick before
to accomplish this as well.

http://www.pdftron.com/pdf2image/

That particular utility is cross platform i believe.

Andrew


On Wed, Sep 18, 2013 at 9:06 AM, Ray Horsley r...@linkit.com wrote:

 Sorry to bring this topic back up again but it seems there's no solution
 for this.

 Installing QuickTime on Windows does not display PDF's in a player object.
  This is odd since this works wonderfully on a Mac.

 Yrying to display PDF's in a browser object opens Adobe's Reader which, in
 Windows' very blunt way, hogs the entire screen burdening the user with
 lots of work just to get back to LiveCode.  Even if this worked I'm not
 sure how I'd determine the number of pages and move through them to get the
 snapshots.

 Quartam Software has a nice PDF package but it only does the opposite by
 creating PDF files in Livecode.

 So there's apparently no solution to this seemingly common need to be able
 to view and convert PDF files to single PNG's or JPEG's in Livecode.

 Suggestions?
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Regards,

Andrew Kluthe
and...@ctech.me
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF's to PNG's on Windows 8

2013-09-18 Thread stephen barncard
On Wed, Sep 18, 2013 at 7:58 AM, Roger Eller roger.e.el...@sealedair.comwrote:

 This software can be controlled by LiveCode using shell commands to its
 command-line interface.

 http://www.softinterface.com/Convert-PDF-To-Image/Convert-PDF-To-Tiff.htm


Windows only.


-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF's to PNG's on Windows 8

2013-09-18 Thread Roger Eller
On Wed, Sep 18, 2013 at 3:27 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 On Wed, Sep 18, 2013 at 7:58 AM, Roger Eller roger.e.el...@sealedair.com
 wrote:

  This software can be controlled by LiveCode using shell commands to its
  command-line interface.
 
 
 http://www.softinterface.com/Convert-PDF-To-Image/Convert-PDF-To-Tiff.htm
 

 Windows only.


Yep.  That would seem to meet the requirement of the request by the OP:
 PDF's to PNG's on Windows 8.


 --



 Stephen Barncard
 San Francisco Ca. USA


~Roger
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF's to PNG's on Windows 8

2013-09-18 Thread Dr. Hawkins
On Wed, Sep 18, 2013 at 7:56 AM, Andrew Kluthe and...@ctech.me wrote:

 In the past I have used pre-rolled command line utilities for that. I am
 not sure if this is the specific one I use, but I used imagemagick before
 to accomplish this as well.


Also, imageMagick is under a non-viral license, so you could compile the
subset you need so ship along with commercial code.



-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF's to PNG's on Windows 8

2013-09-18 Thread stephen barncard
On Wed, Sep 18, 2013 at 1:32 PM, Roger Eller roger.e.el...@sealedair.comwrote:

 Yep.  That would seem to meet the requirement of the request by the OP:
  PDF's to PNG's on Windows 8.


my reasoning was to include that info in the archives to save someone time
in a search for Mac or x-platform situation.


-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF's to PNG's on Windows 8

2013-09-18 Thread Roger Eller
On Wed, Sep 18, 2013 at 4:48 PM, stephen barncard wrote:

 On Wed, Sep 18, 2013 at 1:32 PM, Roger Eller wrote:

  Yep.  That would seem to meet the requirement of the request by the OP:
   PDF's to PNG's on Windows 8.
 

 my reasoning was to include that info in the archives to save someone time
 in a search for Mac or x-platform situation.


I agree, whenever possible x-plat code is preferred.  I wish it were
possible more often.



 --
 Stephen Barncard
 San Francisco Ca. USA


~Roger
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF's to PNG's on Windows 8

2013-09-18 Thread Ray Horsley
Many thanks for these suggestions!  With PDF's being used so broadly does 
anybody else feel that this would be a worthwhile addition to Livecode?  
Imagine simply being able to read a PDF file into an array, or being able to 
write an array out to a file to create a PDF.

On Sep 18, 2013, at 4:52 PM, Roger Eller wrote:

 On Wed, Sep 18, 2013 at 4:48 PM, stephen barncard wrote:
 
 On Wed, Sep 18, 2013 at 1:32 PM, Roger Eller wrote:
 
 Yep.  That would seem to meet the requirement of the request by the OP:
 PDF's to PNG's on Windows 8.
 
 
 my reasoning was to include that info in the archives to save someone time
 in a search for Mac or x-platform situation.
 
 
 I agree, whenever possible x-plat code is preferred.  I wish it were
 possible more often.
 
 
 
 --
 Stephen Barncard
 San Francisco Ca. USA
 
 
 ~Roger
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: PDF's to PNG's on Windows 8

2013-09-18 Thread Dr. Hawkins
On Wed, Sep 18, 2013 at 2:22 PM, Ray Horsley r...@linkit.com wrote:

 Many thanks for these suggestions!  With PDF's being used so broadly does
 anybody else feel that this would be a worthwhile addition to Livecode?
  Imagine simply being able to read a PDF file into an array, or being able
 to write an array out to a file to create a PDF.


I think it's critical--my output *must* be pdf :)

I particularly need to be able to stick an external  pdf page in between
pages of my pdf output
-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode