enthought / enthought/pyface

Clean up `ImageResource` usage, use `IImage` where possible

Open
#1,106 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
115
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Currently the usage of `ImageResources` is very ad-hoc - there is a lot of custom caching and storing of name to toolkit object lookups, which is what the Pyface `IImage`, the `Image` trait and friends are supposed to handle. This should be cleaned up to:

- remove duplicate caches
- use `IImage` where possible so that users can use `ArrayImage` and `PILImage`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.