Re: Merge PDF

2019-10-28 Thread Paul McClernan via use-livecode
Not to my knowledge, but I'm sure it's completely doable. I once created an
LC script that could extract embedded JPEGs from inside PDFs. The PDF File
Format docs have been made available by Adobe (back in 2011 I think).

Another option would be to use Shell() function with one of the PDF
command-line tools that are around, like the free PDFtk for example.

On Thu, Oct 17, 2019 at 12:28 PM FlexibleLearning.com via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Has anyone got an LC-based method to merge pdf files?
>
> Just asking...
>
> Hugh Senior
>
> ___
> 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: Merge PDF

2019-10-21 Thread hh via use-livecode
> Richard H. wrote:
> Silly question now that I think of it . . . does t avoid
> the pixelization that the pdf widget performs?
> And for that matter, does it work with cropped sections,
> or just full pages?

The PDf-lib doesn't use image snapshots. It is true PDF:
Copied are pages and all it needs for each page from the
pdf's catalog. So usually there will be no increase in
size from the merged parts to the merged sum. And there
will be no change in quality.

The merged input pdfs can be of any size. So, as long as
your "cropped sections" are true PDF and not images then
there will be no problem.

Of course, merging can't improve embedded pictures.
And included pictures will pixelate at some point of
enlarging.

And of course built-in javascript as clickable links to
pages in the same document or URLs are lost.

___
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: Merge PDF

2019-10-21 Thread Dr. Hawkins via use-livecode

Silly question now that I think of it . . . does t avoid the pixelization that 
the pdf widget performs?

And for that matter, does it work with cropped sections, or just full pages?

— 
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(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: Merge PDF

2019-10-21 Thread Dr. Hawkins via use-livecode

On Oct 21, 2019, at 10:55 AM, hh via use-livecode 
 wrote:
> 
> I had it ready yesterday for Mac and tried a full day to work

I’ll start pounding the mac version was soon as I get my hands on it . . 

— 
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(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: Merge PDF

2019-10-21 Thread hh via use-livecode
It is dependant on using JS from LC, by that it is dependant
on a browser widget.

I had it ready yesterday for Mac and tried a full day to work
around the deficiencies of the browser widget on linux and win
but had no success, sorry.

The stack will be published as "PDF-Tools" (Merge/Mix/Split)
in a few minutes.

___
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: Merge PDF

2019-10-21 Thread Richard Gaskin via use-livecode

doc hawk wrote:
> On Oct 17, 2019, at 12:04 PM, hh wrote:
>> I'll publish this weekend on SampleStacks a pdfLib (split and merge)
>> based on a JS library (via a browser widget). Already 95% are done.
>
> Did it publish?
>
> And will this only be for server?

If it's dependent on a browser widget, LC Server would be the one 
platform least likely to be supported, as browsers run client-side and 
servers very rarely even have any GUI support available.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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: Merge PDF

2019-10-21 Thread doc hawk via use-livecode


On Oct 17, 2019, at 12:04 PM, hh via use-livecode 
 wrote:
> I'll publish this weekend on SampleStacks a pdfLib (split and merge)
> based on a JS library (via a browser widget). Already 95% are done.

Did it publish?

And will this only be for server?

Do I sound anxious?

:)
___
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: Merge PDF

2019-10-17 Thread hh via use-livecode
> Hugh Senior wrote:
> Has anyone got an LC-based method to merge pdf files? Just asking...

I'll publish this weekend on SampleStacks a pdfLib (split and merge)
based on a JS library (via a browser widget). Already 95% are done.

___
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: Merge PDF

2019-10-17 Thread doc hawk via use-livecode

On Oct 17, 2019, at 9:27 AM, FlexibleLearning.com via use-livecode 
 wrote:
> 
> Has anyone got an LC-based method to merge pdf files?


LC business can’t even output a pdf widget save as low density raster at the 
moment.

I’m currently working on an interim solution that creates a PyPdf2 script, 
after which I may translate parts of that into livecode.

The process is ultimately pretty simple, but will involve learning more pdf 
than most people (including me) have any interest in . . . it would be *much* 
easier (at least for my purposes involving cropped sections of pages) in 
straight postscript . . .

Also, if you look through the archives for my bug report on the pdf widgets 
rasterizing output to 72pdf (it may actually be less; they’re *that* blurry), I 
attached a couple of example files where I force-merged pdf files by hand
___
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


Merge PDF

2019-10-17 Thread FlexibleLearning.com via use-livecode
Has anyone got an LC-based method to merge pdf files?

Just asking...

Hugh Senior


___
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