akkana / pho Goto Github PK
View Code? Open in Web Editor NEWpho: a lightweight image viewer and triager
Home Page: http://shallowsky.com/software/pho
License: GNU General Public License v2.0
pho: a lightweight image viewer and triager
Home Page: http://shallowsky.com/software/pho
License: GNU General Public License v2.0
Suggested by 石柱 (pinkme005 yahoo.com.cn) in email:
Could you add more scale ratio to pho ,for example:25%,50%,75%. 125%,150%...?
One of the aspect ratio code changes broke image scaling. You can't do double or half size any more.
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.
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:
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.