Skip to content

Commit

Permalink
Updates..
Browse files Browse the repository at this point in the history
  • Loading branch information
abchk1234 committed Dec 23, 2013
1 parent c12ed59 commit 211b549
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
About
=======

With pdf2img you have the opportunity to convert PDF to image with a single mouse click. pdf2img supports up to 4 different image extensions and 10 different sdevices.
With pdf2png you have the opportunity to convert PDF to image with a single mouse click. pdf2png supports up to 4 different image extensions like PNG,JPEG,BMP and TIFF.

##How To

Expand All @@ -13,15 +13,15 @@ It would convert the pdf and output the image(s) in the same directory where the

##Credits

Forked from WifiExtender's <a href="https://github.com/wifiextender/pdf2png">pdf2png</a>, so Thanks to him :)
Forked from WifiExtender's <a href="https://github.com/wifiextender/pdf2png">pdf2img</a>, so Thanks to him :)

This has minor chnages from his version like no tray icon and no over-riding of the system theme.

For Arch Linux users check out <a href="https://aur.archlinux.org/packages/pdf2img-git/">pdf2img-git</a> in the AUR.
For Arch Linux users check out <a href="https://aur.archlinux.org/packages/pdf2png/">pdf2png</a> in the AUR.

## Requirements

* python
* ghostscript
* python-gobject (for debian is python-gi)
* python-gobject (for debian its python-gi)
* webkitgtk, pywebkitgtk
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ install: all
$(INSTALL) -d $(DESTDIR)$(bindir)
$(INSTALL) -d $(DESTDIR)$(icons)
$(INSTALL) -d $(DESTDIR)$(appdir)
$(INSTALL) -m755 pdf2img $(DESTDIR)$(bindir)
$(INSTALL) -m644 pdf2img.png $(DESTDIR)$(icons)
$(INSTALL) -m644 pdf2img.desktop $(DESTDIR)$(deskdir)
$(INSTALL) -m755 pdf2png $(DESTDIR)$(bindir)
$(INSTALL) -m644 pdf2png.png $(DESTDIR)$(icons)
$(INSTALL) -m644 pdf2png.desktop $(DESTDIR)$(appdir)
10 changes: 5 additions & 5 deletions pdf2img → pdf2png
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ class MainWindow(Gtk.Window):
def about_dialog(self, widget):
aboutdialog = Gtk.AboutDialog()
aboutdialog.set_logo_icon_name(Gtk.STOCK_ABOUT)
aboutdialog.set_program_name("pdf2img")
#aboutdialog.set_version("v0.2")
aboutdialog.set_comments("Convert easily PDF to multiple images\nin various formats with a single mouse click\n")
aboutdialog.set_program_name("pdf2png")
aboutdialog.set_version("v0.2")
aboutdialog.set_comments("Convert PDF to multiple images in various formats\nlike PNG with a single mouse click\n")
aboutdialog.set_website("https://github.com/aadityabagga/pdf2png")
aboutdialog.set_website_label("Website")
aboutdialog.set_website_label("Website\n")
aboutdialog.set_authors(["Aaron", "\nSpecial thanks to:\nAaditya"])
aboutdialog.set_license("""This program is free software;
you can redistribute it and/or modify it under the terms
Expand Down Expand Up @@ -98,7 +98,7 @@ for more details.""")
sp.communicate()

def __init__(self):
Gtk.Window.__init__(self, title="PDF to IMG")
Gtk.Window.__init__(self, title="PDF to PNG")

self.set_border_width(6)
self.set_size_request(200, 20)
Expand Down
6 changes: 3 additions & 3 deletions pdf2img.desktop → pdf2png.desktop
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[Desktop Entry]
Name=Pdf2img
Exec=pdf2img
Name=Pdf2png
Exec=pdf2png
Comment="Convert PDF books to PNG, JPG and other image formats easily"
Icon=/usr/share/pixmaps/pdf2img.png
Icon=/usr/share/pixmaps/pdf2png.png
NoDisplay=false
Type=Application
Categories=Graphics;
File renamed without changes

0 comments on commit 211b549

Please sign in to comment.