LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

Paradigms exist to be broken

Posted 10-29-2016 at 12:39 AM by Michael Uplawski
Updated 11-16-2016 at 05:02 PM by Michael Uplawski (typos, Kraut2English)

Paradigms exist to be broken
or:
How to create a Dynamic bookmark-tree with Apache-FOP

Introduction
This page will eventually explain how you can dynamically generate a bookmark-tree in the PDF-documents by use of the Apache-FOP xsl/fo processor.

But before I show you the mere technicalities, you need to realize what's special in this procedure and what it means to break a paradigm. In fact, the alternative titles on this page should appeal to
...
Attached Images
File Type: pdf fop_bookmarks.pdf (66.5 KB, 10 views)
Senior Member
Views 302 Comments 2 Michael Uplawski is offline
Old

Transforminator

Posted 09-08-2016 at 02:03 PM by Michael Uplawski
Updated 12-31-2023 at 05:32 AM by Michael Uplawski (version 1.1.7)

Edit 31/12/2023: A new version 1.1.7 of Cremefraiche is available on rubygems.org. It comprises some bug fixes, the license is now wtfpl-2 and more HTML-garbage may be handled to render the PDF readable.
Years ago, I wrote a ruby-program which converts Email to PDF, then ignored it.
Discussions of GTK3 and the pros and cons of the decisions taken by the Gnome- and GTK-developers awakened again my interest in the program, as it comes with an optional GTK3 user-interface.
...
Attached Images
File Type: pdf CremeFraicheGui.pdf (408.7 KB, 12 views)
Senior Member
Views 231 Comments 2 Michael Uplawski is offline
Old

Create Images from PDF and recreate PDF from Images...

Posted 04-19-2016 at 07:06 AM by Michael Uplawski
Updated 09-12-2017 at 12:33 PM by Michael Uplawski (a different title for the second script; wording improved)

You might think WTF. But that would be a waste of spontaneity.
Even if the thought has never hit you, this procedure has been useful many times.

Background

My own reasons to convert PDF-files to images, then back to PDF have been
  • PDFs containing unnecessarily huge images
  • PDFs with OpenType fonts which were not correctly embedded
  • PDF content that I did not want to see copied (not easily, at least)
  • PDFs which were originally made from images, that I wanted
...
Attached Images
File Type: png pdf_tiff_sc.png (20.8 KB, 13 views)
Senior Member
Views 223 Comments 1 Michael Uplawski is offline
Old

Scanner (here: Mustek Bearpaw 1200 CS), Scanning and file size reduction under Debian Jessie

Posted 06-05-2015 at 07:44 AM by jere21

tl;dr:
Save A1fw.usb to /usr/share/sane/gt68xx/ and start scanning with sane.

More general instructions for installing a scanner:
  1. Your user should be in group "scanner" and sane must be installed. In my case I have:
    Code:
    ii  libsane:amd64         1.0.24-13    amd64  API library for scanners
    ii  libsane-common        1.0.24-13    all    API library for scanners -- documentation and support files
    ii  libsane-extras:amd64  1.0.22.3     amd64
...
LQ Newbie
Posted in Uncategorized
Views 1560 Comments 0 jere21 is offline
Old

Gruesome PDF to JPG converter script

Posted 03-28-2014 at 08:57 PM by the dsc (linux-related notes)
Updated 04-10-2014 at 12:11 PM by the dsc (fixing a bug)
Tags pdf

Requires gs, imagemagick, jpegoptim, cpulimit, and "coolloop" (or maybe not).

Has no options or anything.

You run it like:

howeveryounameit.sh appropriate-filename portable-document-file-to-convert.pdf

The result will be:

appropriate-filename-001.jpg, appropriate-filename-002.jpg and so on.

So you don't add numbers or extension on the first parameter ($1). I guess it may not deal well with spaces...
Member
Posted in Uncategorized
Views 1617 Comments 0 the dsc is offline

  



All times are GMT -5. The time now is 03:04 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration