- Change
Container
forimage
crate support to accept anyDeref<Target = [u8]
container.
- Delay GPU initialization until first window is created.
- Bump minumum
image
version to0.24.1
. - Bump maximum
tch
version to0.7.x
.
- Print a message to install Vulkan drivers on Linux when no adapter is found.
- Update to
wgpu
0.11 andglam
0.20. - Require
resolver="2"
oredition="2021"
due to updated dependencies.
- Bump maximum
tch
version to 0.6.x. - Improve discoverability of
WindowProxy::run_function_wait()
in documentation.
- Fix a black screen on macOS caused by the image transformation.
- Add
WindowHandle::effective_transform()
to get the full transformation from image space to virtual window space.
- Fix horizontal stretching of saved images.
- Fix cropping image by half a pixel on all sides.
- Change
WindowHandle
API to provide more efficient access to window properties. WindowHandle
now guarantees that the referenced window is valid.- Prohibit access to
&mut ContextHandle
as long as aWindowHandle
exists. - Rename
show_overlays
property tooverlays_visible
. - Fix interpretation of
tch::Tensor
with planar data. - Add user configurable image transformation.
- Add
prev_position
toMouseMoveEvent
. - Add
position
andprev_position
toMouseButtonEvent
. - Add enabled-by-default mouse controls to pan and zoom images.
- Use
glam
vectors in public API (and publicly re-exportglam
). - Bump allowed
tch
version to 0.5.
- Update to wgpu
0.9
and winit0.25
.
- Fix compatibility with Rust stable.
- Allow manual rendering back-end selection with the
WGPU_BACKEND
environment variables. - Allow manual GPU selection with the
WGPU_POWER_PREF
environment variables. - Fix panic when minimizing a window on Windows.
- Disable some default features of dependencies to reduce dependency tree.
- Support
tch
versions 0.1.6 through 0.4.0. - Update to
wgpu
0.7. - Make sure the process aborts when the main user task does so.
- Enable
macros
feature by default. - Add links in README.
- Complete rewrite with new API using
winit
andwgpu
as backend. - Ensure macOS compatibility by running the event loop in the main thread.
- Add support for overlays drawn on top of the main image.
- Add support for showing overlays on top of images.
- Fold consecutive mouse move events to reduce number of events.
- Allow registered event handlers to remove themselves.
- Remove implicit event channel of window handles.
- Make window handles Clone.
- Fix the
resizable
window option. - Add option to make borderless windows.
- Support
tch
versions 0.1.6 through 0.3.x. - Support
raqote
versions 0.7.14 through 0.8.x.
- Support
tch
versions 0.1.6 through 0.2.x.
- Increase timeout on communication with background thread to 1 second.
- Divide
raqote
images by their alpha component to undo pre-multiplication.
- Add support for
raqote::DrawTarget
andraqote::Image
.
- Update keyboard-types dependency to 0.5.0.
- Update sdl2 dependency to 0.33.0.
- Add support for handling mouse events.
- Replace (data, info, name) tuple for displayed images with a struct.
- Add
window.add_key_handler
to register asynchronous key handlers. - Ignore key events that happened while a window was out of focus.
- Add
stop()
function to cleanly stop the background thread. - Add
window.get_image()
to retrieve the displayed image. - Associate a name with displayed images.
- Expose
save_image()
andpromp_save_image()
. - Fix
window.set_image()
for windows on other workspaces. - Fix handling Ctrl+S with modifiers like numlock, capslock, etc.
- Add readme to Cargo manifest.
- Fix example.
- Use
assert2
for tests.
- Allow end-users to save displayed images.
- Fix display of color images without alpha channel.
- Remove access to
Context
to simplify API.
- Change
ImageData
trait to allow consuming images. - Implement
ImageData
for tuples of data andImageInfo
. - Add support for
tch::Tensor
.
- Rename
make_window
functions to favor the simple functions.
- Support 8-bit grayscale image data.
- Preserve aspect ratio of images, if requested.
- Add easy to use API that uses global context.
- Initial release.