Skip to content

I'm excited! #166

Open
Open

Description

@FredWahl

I wrote a tool that automates jpegtran. You give it a path and then it runs jpegtran for every jpg file it finds. Very useful and written in c++. So I should be able to do the same for this tool. I have tons of pdf files. Whenever I find something useful, I save it as a pdf. Sadly, I don't know python but I have decided to learn. So this will be interesting once I have learned enough.

Activity

  1. FredWahl commented on Jun 15, 2023

    @FredWahl
    Author

    Thank you. Interesting and a good reason to learn Python. I have found a sdk also. another question. Since I want to automate pdfsizeopt, what are the return values? I assume it returns 0 for success but are there other values? jpegtran returns 1 or 2 but I can't figure out what it means. Winrar can be automated as a cli and they have documented these.

  2. FredWahl commented on Jun 16, 2023

    @FredWahl
    Author

    Almost forgot. While I do have tons of pdf's, I have run other tools on them. I suspect pdfsizeopt wouldn't yield anything for most of them.Therefore, I wonder if there are pdf files for testing that are made in such a way that they are useful to see how much they can be reduced in size. I found pdfVera and their goal is to verify that pdf's meet ceratin criteria and there are many. It seems as if they have created "Hello, world" files which violate these rules. I have no idea how, maybe I should ask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions