Limit imported bitmap to a given size

Bug #1152903 reported by hilaire on 2013-03-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
Medium
hilaire

Bug Description

When dropping a bitmap, only one with a size smaller to a given amount should be accept.
If not propose to cancel the importing operation or to rescale it.

hilaire (hilaire-fernandes) wrote :

Limited size could be like an amount of pixels because we want to limit the memory consumption.

hilaire (hilaire-fernandes) wrote :

Possible size are 20'000 pixels

hilaire (hilaire-fernandes) wrote :

This amount could be add in the Pharo settings, to be edited from the Browser settings.

hilaire (hilaire-fernandes) wrote :

test - ignore

hilaire (hilaire-fernandes) wrote :

test2

hilaire (hilaire-fernandes) wrote :

test3

hilaire (hilaire-fernandes) wrote :

Set a hard 250'000 pixels limit for dropped picture in the canvas. If over, downsize the dropped picture.

Changed in drgeo:
status: New → Fix Committed
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers