Skip to content

Commit

Permalink
update exe and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonioMrtz committed Jun 30, 2022
1 parent b0bfa3d commit 3647975
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
Binary file renamed main.exe → ImageToPdf.exe
Binary file not shown.
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
<p>By setting up a folder like it will be shown later in this document the script sort all photos following alphanumerical order and putting
all the files in the same folder( ImageToPdf ).</p>
<p>This is helpful when you want to put together large amounts of pictures stored in different folders and you want to preserv the order between all the items like a comic downloaded in separate chapters and images.</p>
<p><a href="#convert-to-pdf">Convert to pdf</a> uses this schema for generating the pdf. Meanwhile its not active you can just upload the sorted photos to
<a href="https://tools.pdf24.org/es/png-a-pdf">an unlimited length online pdf converter</a>.</p>
<p><a href="#convert-to-pdf">Convert to pdf</a> uses this schema for generating the pdf.</p>

<br>

Expand All @@ -30,29 +29,30 @@ all the files in the same folder( ImageToPdf ).</p>

* PRECONDITIONS
* The main folder you will put in the path should have at least one folder with the images. ( The hierarchy must be : folder->folder/s->images)
* For converting to Pdf you must have a folder named ImageToPdf in your path folder.
* For converting to Pdf you must have a folder named ImageToPdf in your path folder or you should have executed <a href="#organize-pics">Organize pics</a> before.

<br>
1. Place the full path of the folder that stores all the photos:
<br><br>

![folder](/media/folder_change.png)

1. Donwload <a href="https://github.com/AntonioMrtz/ImageToPdf">the project </a>and unzip it.
<br>
2. Save the changes in the file.

2. Open the executable ImageToPdf.exe
<br>
3. Run the script by typing python main.py in the command prompt (only one of those):

>python main.py
3. Click on OrganizePics. <br><br>
![](/media/main_menu.png)

>python3 main.py
4. Now select the folder where the folders of imnages are stored
by clicking on "Browse" (1) and when you´re done just click on "Organize". (2)<br><br>
![](/media/organize_pics_menu.png)

<br>
4. Enter the number of the option you want to execute in the command prompt :
<br><br>
5. Now you can generate the Pdf by going to the main menu pressing "Back" and then ImageToPdf.

![functions](/media/current_functions.png)
![](/media/main_menu.png)

6. Its Done ! The Pdf will be stored in the folder you selected before.

<br>
<hr>

## Tech usage
Expand All @@ -70,12 +70,13 @@ of preordered folders and files but this doesn`t match the order that the OS has

- To generate the Pdf i worked with the PIL library for python.

- The GUI was made using SimpleGUI Python and exents the user to modify code manually and opened the chance to just need the executable and don´t worry about dependencies.

<br>

## Upcoming features

1. Graphic interface for selecting folder and options with SIMPLEGUI
2. Local compression of pdfs
1. Local compression of pdfs
<br><br>
<hr><br>

Expand Down
Binary file added media/main_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/organize_pics_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3647975

Please sign in to comment.