Ondrej Baranovič
954baa1e73
document #5788
2021-10-23 10:51:46 +02:00
Andrew Murray
b3e690a270
Use title for display
2021-10-23 15:53:08 +11:00
Andrew Murray
515314b85c
Updated capitalization
2021-10-02 09:50:27 +10:00
Michael Constant
5c8aa277ce
Avoid race condition when displaying images with eog
...
Image.show() expects its display command to run synchronously, but eog
is asynchronous if there's another instance already running -- it just
asks the other instance to open the file and then immediately exits.
This causes intermittent failures where the file gets deleted before
the running eog instance manages to open it.
Fix this by using the -n option, so eog starts a new instance each time
instead of trying to reuse an existing one.
2021-05-23 01:10:41 -07:00
Andrew Murray
3795772187
Use python3
2021-05-08 12:37:06 +10:00
Latosha Maltba
bb88d8d017
Add support to use GraphicsMagick's "gm display" as viewer
2021-03-21 14:36:18 +00:00
Andrew Murray
7b09463809
Added IPythonViewer docstring
2021-03-04 08:56:49 +11:00
Andrew Murray
f067fe4c05
Added import alias for clarity
2021-03-04 08:56:03 +11:00
Andrew Murray
346bfc9537
Added IPythonViewer
2021-03-04 08:55:24 +11:00
Andrew Murray
5f92636bd0
Removed comment
2021-02-27 00:33:23 +11:00
Hugo van Kemenade
10615a7da7
Upgrade Python syntax for 3.6+
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-07-30 10:09:18 +03:00
Andrew Murray
e1ae9a50cb
Do not convert I;16 image when format is PNG
2020-06-29 22:14:40 +10:00
nulano
2f3deef8c5
update wording for #4706
2020-06-20 13:10:10 +02:00
nulano
23b771973d
Merge remote-tracking branch 'upstream/master' into docs-imageshow
2020-06-20 13:08:47 +02:00
Andrew Murray
6ad98ba3c0
Do not ignore viewer if order is zero when registering
2020-06-18 21:40:38 +10:00
nulano
4a9afc79bf
improve ImageShow docs
2020-06-14 13:55:19 +02:00
Andrew Murray
dd8b0de666
Close excusively opened images
2020-02-18 20:49:05 +11:00
Hugo
3dac6e2c62
Replace ImageShow.which() with stdlib
...
Co-Authored-By: Jon Dufresne <jon.dufresne@gmail.com>
2019-10-12 21:40:11 +03:00
Hugo
538d9e2e5d
Upgrade Python syntax with pyupgrade --py3-plus
2019-10-07 14:30:59 +03:00
Hugo
af770a6c55
Drop support for EOL Python 2.7
2019-10-07 14:30:59 +03:00
Andrew Murray
82f4a0d8f2
Changed WindowsViewer format to PNG
2019-09-21 09:11:32 +10:00
Andrew Murray
108512eae2
Cleaned up strings
2019-08-15 20:41:48 +10:00
Jon Dufresne
d50445ff30
Introduce isort to automate import ordering and formatting
...
Similar to the recent adoption of Black. isort is a Python utility to
sort imports alphabetically and automatically separate into sections. By
using isort, contributors can quickly and automatically conform to the
projects style without thinking. Just let the tool do it.
Uses the configuration recommended by the Black to avoid conflicts of
style.
Rewrite TestImageQt.test_deprecated to no rely on import order.
2019-07-06 16:11:35 -07:00
Hugo
f338eae128
Merge pull request #3869 from radarhere/imageshow
...
Do not down-convert if image is LA when showing with PNG format
2019-06-19 09:26:15 +03:00
Andrew Murray
b262378632
Added mode descriptors for all I;16 modes
2019-06-12 20:33:00 +10:00
Andrew Murray
848a629784
Do not down-convert if image is LA when showing with PNG format
2019-06-12 20:17:23 +10:00
Andrew Murray
1ecabd83d5
Changed Preview application path so that it is no longer static
2019-06-12 02:17:07 +10:00
Hugo
53a7e35004
Format with Black
2019-06-10 18:22:46 +03:00
Andrew Murray
bc3925ead5
Fixed writing to temporary file
2018-12-31 08:27:07 +11:00
Andrew Murray
fea3dafd05
Supply filename through stdin instead of inline in Mac and Unix ImageShow viewers
2018-11-12 19:33:57 +11:00
Andrew Murray
a0be7b09cc
Added UnixViewer get_command
2018-11-12 19:33:57 +11:00
Hugo
13767f045f
Use named version attributes and simplify version checks
2018-03-12 10:35:29 +02:00
Andrew Murray
b7aab522e1
Added syntax print statements
2018-01-06 21:57:29 +11:00
wiredfool
0bb3f4fee9
source layout reorg
2017-12-28 14:49:47 +00:00