lbalazscs / Pixelitor

A desktop image editor
https://pixelitor.sourceforge.io/
GNU General Public License v3.0
180 stars 70 forks source link

There are no finite canvas size values when creating a new image #49

Closed AlexHromi closed 4 years ago

AlexHromi commented 5 years ago

Reproducibility: always Severity: Minor Priority: Medium Software: Pixelator 4.2.0 Windows 10 64 bit Java Version 1.8.0_201 Description:

When creating a new image, the program did not set the final value of the canvas size.

Playback Actions:

1.Create a new image

  1. Enter value "99999" in the "Width" field
  2. Enter value "99999" in the "Height" field
  3. Press "OK" button

Expected Result:

Show error message with maximum field values

The result obtained:

Java error about lack of memory Closing the application

lbalazscs commented 5 years ago

Well, it is impossible to set strict maximum values here, because the maximum size depends on the amount of RAM in your computer, the number of undo levels, the amount of layers you are going to use, etc. Theoretically even 99999*99999 should be possible with enough RAM.

I will probably show some sort of warning here.

lbalazscs commented 4 years ago

Implemented in GitHub, it will be in the next version. As it turns out, there is a limit independent of RAM: error1 But the memory limit usually will come first: error2

lbalazscs commented 4 years ago

Fixed in Pixelitor version 4.2.3, released today.