Commit graph

127 commits

Author SHA1 Message Date
Jan Chren (rindeal)
92ecfa55f2 cpp: fix whitespaces
- strip trailing WS
- 8-char tabs -> 8 spaces
- use 2 spaces for indentation consistently
2019-10-21 21:12:09 +02:00
Stefan Haustein
e79df170f5 Fix light down unicode #64 and an initial color issue resulting from the fix for #68 2019-10-19 11:42:54 +02:00
Jan Chren (rindeal)
1de00052a1 cpp: don't emit duplicate color codes
Closes: https://github.com/stefanhaustein/TerminalImageViewer/issues/54
2019-10-19 11:27:06 +02:00
Jan Chren (rindeal)
4743f30485 Makefile: make it packaging friendly 2019-10-19 00:29:07 +02:00
shabbyrobe
97ac9f02f9 Replace best_diff when a better diff comes along 2019-10-14 19:14:27 +02:00
crouvpony47
bbc34345a1 output redirection and color calculation fixes; minor improvements
fix: no longer accessing unexisting element of color_per_count;
fix: improved redirection handing;
fix: don't print empty rows in thumbs mode.
2019-05-22 11:11:39 +02:00
cabelo
5ef1f70a3a Redirect STDOUT to file 2019-03-26 21:26:43 +01:00
Stefan Haustein
f055e5b675 Revert "Persistence options"
This reverts commit aef2fbccdc.
2019-03-23 22:33:28 +01:00
Stefan Haustein
d749d51042 Revert "Constant standard output stream"
This reverts commit 543cebef37.
2019-03-23 22:33:28 +01:00
Stefan Haustein
cd2805d33d Revert "null values"
This reverts commit 9717adc840.
2019-03-23 22:33:28 +01:00
Stefan Haustein
7e5b9d94ee Revert "null values"
This reverts commit 28e9f5e40e.
2019-03-23 22:33:28 +01:00
Stefan Haustein
0973fbd76c Revert "null values"
This reverts commit 3e57ebb80c.
2019-03-23 22:33:28 +01:00
Alan De Smet
419056506f Cleanup to match upstream style. 2019-03-23 22:32:20 +01:00
Alan De Smet
f97c6e9eb0 Make operator* a member of struct size
instead of being global
2019-03-23 22:32:20 +01:00
Alan De Smet
06467c38d8 Center tall, skinny thumbnails in their space. 2019-03-23 22:32:20 +01:00
Alan De Smet
6b80bc0717 Preserve aspect ratio of tall, skinny images in thumbnails. 2019-03-23 22:32:20 +01:00
Alan De Smet
69f57a4730 Add operator<<(istream) for size for debugging 2019-03-23 22:32:20 +01:00
Alan De Smet
b58820e647 Extract size-to-fit logic for re-use in thumbnails. 2019-03-23 22:32:20 +01:00
cabelo
3e57ebb80c null values 2019-03-23 22:30:54 +01:00
cabelo
28e9f5e40e null values 2019-03-23 22:30:54 +01:00
cabelo
9717adc840 null values 2019-03-23 22:30:54 +01:00
cabelo
543cebef37 Constant standard output stream 2019-03-23 22:30:54 +01:00
cabelo
aef2fbccdc Persistence options 2019-03-23 22:30:54 +01:00
Thomas Kupper
9734ff585d Extend Makefile for cross-compiling 2019-03-23 19:59:39 +01:00
Alan De Smet
9943deed2c Convert greyscale inputs to RGB. 2019-03-22 20:57:58 +01:00
CHEN Feng
287fde3341 Fix the '-Wcatch-value' warning under gcc 7.3.0
tiv.cpp:464:45: warning: catching polymorphic type ‘struct cimg_library::CImgIOException’ by value [-Wcatch-value=]
2019-03-11 20:52:08 +01:00
David Tschumperlé
643b56aee1 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
1b528b0ce4 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
6770314958 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
dcda0b8297 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
9d116a1ea3 Add inverse hyperbolic functions 2018-08-03 20:48:02 +02:00
David Tschumperlé
8ace450f52 Auto-commit for release 2.3.3_pre 2018-08-03 20:48:02 +02:00
David Tschumperlé
49498cdc0f . 2018-08-03 20:48:02 +02:00
David Tschumperlé
0b2ac269d9 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
dbb75083a0 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
163fb17d4b Auto-commit for release 2.3.1_pre 2018-08-03 20:48:02 +02:00
David Tschumperlé
fb80bff1f6 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
3129bf155d . 2018-08-03 20:48:02 +02:00
David Tschumperlé
f914521402 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
8e9c051681 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
d2817625ac . 2018-08-03 20:48:02 +02:00
David Tschumperlé
5e1204f558 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
2aee1b31ff . 2018-08-03 20:48:02 +02:00
David Tschumperlé
6163781659 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
bf7a2ef987 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
e3b51a1b15 Fix NaN recognition in math parser. 2018-08-03 20:48:02 +02:00
David Tschumperlé
bd1410a2fe . 2018-08-03 20:48:02 +02:00
David Tschumperlé
724db25c51 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
82ca023f6b . 2018-08-03 20:48:02 +02:00
David Tschumperlé
473aa90a14 . 2018-08-03 20:48:02 +02:00
David Tschumperlé
6ea3a90689 Initial commit 2018-08-03 20:48:02 +02:00
h@di
3e5a20c504 Fix bug of not processing last row & column of buckets
Fix #25
2018-08-03 17:56:27 +04:30
h@di
f28e0b0129 Change error output stream to stderr 2018-08-03 17:46:12 +04:30
h@di
e7bde92fe7 Parameterize makefile's compiler 2018-08-03 17:45:59 +04:30
stefan.haustein@gmail.com
1ce1732e68 Support directories (instead of crashing) 2018-07-29 23:55:46 +02:00
Nguyễn Hoàng Dương
4caaaca80a Update tiv.cpp
Fix little typo
2017-10-21 17:42:13 +07:00
stefan.haustein@gmail.com
a69ffa848d don't redistribute colors when more than 50% of a cell are of the same two colors 2017-10-16 22:28:22 +02:00
Dima Granetchi
9ec066f3d9 Manually set c++11 standard
Fix compilation on mac os. On ubuntu works too.
2017-07-13 14:12:44 +03:00
stefan.haustein@gmail.com
79b468fbbc Added an option to turn off the character optimization step 2017-07-11 22:25:22 +02:00
stefan.haustein@gmail.com
d543b3b2c9 Merge branch 'master' of https://github.com/stefanhaustein/TerminalImageViewer 2017-07-11 21:26:10 +02:00
stefan.haustein@gmail.com
2e91d92936 C++ version added 2017-07-11 21:25:08 +02:00
Stefan Haustein
ce22b8b6cc More nbsp cleanup 2017-04-06 21:45:18 +02:00
Stefan Haustein
8b4d326902 nbsp -> space 2017-04-06 21:26:37 +02:00
Stefan Haustein
d1debd7f3a Merge branch 'master' of https://github.com/stefanhaustein/TerminalImageViewer 2016-10-01 13:13:32 +02:00
Stefan Haustein
2e96aaec28 Support a columns count parameter (-c) in directory mode 2016-10-01 13:13:03 +02:00
Stefan Haustein
cce40ef214 html option (not really working very well yet) 2016-07-17 03:54:48 +02:00
Stefan Haustein
f9ddd5df2d html 2016-07-17 03:40:53 +02:00
Stefan Haustein
4990ab5383 Support for obtaining image paths from stdio 2016-07-11 20:15:35 +02:00
Stefan Haustein
1082b5aea8 debug output removed 2016-06-29 01:32:39 +02:00
Stefan Haustein
129c7f1f73 256 color mode fixed, grayscale support added 2016-06-29 01:27:40 +02:00
Stefan Haustein
de5fb08cf0 256 color mode support 2016-06-26 13:09:25 +02:00
Stefan Haustein
3f421d467d Apache license reference added to the code
Also added an author tag
2016-06-23 14:56:57 +02:00
Stefan Haustein
4a8acee8b2 Redundant bitmaps removed 2016-04-09 17:15:33 +02:00
Stefan Haustein
e103de1c1c improved character set 2016-04-09 16:05:31 +02:00
Stefan Haustein
238b92c9a3 render thumnails for multiple files 2016-04-09 10:54:10 +02:00
Stefan Haustein
655a76d3b2 documentation improvements 2016-04-09 01:14:19 +02:00
Stefan Haustein
a882cd6158 Initial checkin 2016-04-09 00:39:53 +02:00