Limit imported bitmap to a given size

Bug #1152903 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
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.

Revision history for this message
hilaire (hilaire-fernandes) wrote :

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

Revision history for this message
hilaire (hilaire-fernandes) wrote :

Possible size are 20'000 pixels

Revision history for this message
hilaire (hilaire-fernandes) wrote :

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

Revision history for this message
hilaire (hilaire-fernandes) wrote :

test - ignore

Revision history for this message
hilaire (hilaire-fernandes) wrote :

test2

Revision history for this message
hilaire (hilaire-fernandes) wrote :

test3

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.