Code Monkey home page Code Monkey logo

pho's Issues

Support for tag file systems

Hi, I just got word of this project from your recent blog article. I wanted to ask you if you heard of the niche called tag file systems. If not - maybe look it up. If you find it interesting, you could try to intgrate it with the app? Some links to get you started:

too many sections in jpg file error

Hi, I've been using pho to look at some pictures from an old phone (Motorola G5S) and kept getting the error above for many of the files. The error causes pho to stop and no output is produced (e.g. notes or rotation info for previous files) other than the error message.
I have found a workaround for the issue, which was to change the hardcoded MAX_SECTIONS (in exif/jpgfile.c) from 20 to 100 and recompile. I haven't noticed any adverse effects since making the change, and I haven't gotten the error since.
Perhaps this number should be increased or alternatively an argument could be passed at run time to override it (something like --max-sections=100).
Thanks.

Show scrollbars when window size would exceed screen size

Suggested by 石柱 (pinkme005 yahoo.com.cn) in email:

When operating in normal, windowed (non-presentation) mode, if the image is larger than the screen size, pho should limit the window size to the screen size and show scrollbars.

Replace hardcoded "make" invocations in Makefile with $(MAKE)

Makefile calls "make" directly, which is wrong, as actual binary can be called differently (e.g. GNU make is called "gmake" in FreeBSD). Canonical way to reference make implementation that reads your Makefile is to use $(MAKE) instead. Simple patch:

--- Makefile.orig
+++ Makefile
@@ -40,7 +40,7 @@
 tar: clean $(TARFILE)

 $(TARFILE):
-       ( make clean && \
+       ( $(MAKE) clean && \
          cd .. && \
          tar czvf $(TARFILE) --exclude=.svn --exclude=.git --owner=root $(CWDBASE) && \
          mv $(TARFILE) $(CWD) && \
@@ -64,5 +64,5 @@
        rm -f *.[oas] *.ld core* pho xpho pho-*.tar.gz *.rpm
        rm -f build-stamp configure-stamp
        rm -rf debian/pho
-       cd exif; make clean
+       cd exif; $(MAKE) clean

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.