Plone-scale

Latest version: v3.0

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

2.0

----------------

New:

- Assume a width or height of zero is semantically the same as None already was:
Use the other dimension to scale, calculate the missing one.
[jensens, thet]

- Scaled GIFs are converted to RGBA PNG images instead of converting them to JPEG.
[thet, jensens]

Fixes:

- Don't scale images up for direction "down".
[thet]

- Major housekeeping, code refactored in order to reduce complexicty.
[jensens]

1.5.0

------------------

New:

- Use an adapter to lookup the actual factory for scaling.
Deprecated passing the factory as named parameter along,
because this had not enough flexibility:
If addons want to provide alterative methods to scale (i.e. cropping),
now a specific adapter can perform the work.
[jensens]

Fixes:

- Minor housekeeping.
[jensens]

1.4.1

------------------

Fixes:

- Fix KeyError in storage.AnnotationStorage._cleanup when attempting
to delete the storage for the same key twice.
[fulv]

1.4

----------------

New:

- Resolve conflicts raised when accessing multiple scales concurrently.
[gotcha]

- Refactored scale storage.
[gotcha]

1.3.5

------------------

- PIL thumbnail does not work for magnifying images (when scaling up).
Use resize instead. [sureshvv]

1.3.4

------------------

- When a scale is outdated, discard all image scales that are more
than a day older than the context.
Refs https://dev.plone.org/ticket/13791
[maurits]

- Make sure deleting items or clearing a complete storage works.
Deleting one item would often delete a linked second item, which
made it hard to remove several items at once.
[maurits]

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.