| Summary: | trim image to layer size doesn't update the image size correctly | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | fabrice salvaire <fabrice.salvaire> |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | fabrice.salvaire, halla |
| Priority: | NOR | ||
| Version First Reported In: | 2.9.5 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | file r this bug | ||
|
Description
fabrice salvaire
2015-10-03 19:37:58 UTC
- Krita reports an image of 1600x900 px 3G instead of 11 M - it survives to a copy from the layer to a new one - but it don't survives if the layer is pasted in another file Hi Fabrice, Could you make that file available for me to check? I suspect that that there's a layer on it that's much bigger than the image. Created attachment 94908 [details]
file r this bug
(In reply to fabrice salvaire from comment #3) > Created attachment 94908 [details] > file r this bug file to reproduce the bug Yes, my hunch was correct. I'm not sure how you managed, but that layer is 47498x86431 pixels. Use "Trim to Image Size" to cut off the extraneous parts. It shows another bug, though, trim to layer size doesn't correctly update the image size: the size in the statusbar remains the old size. I ran into this bug for two projects and I did nothing particular with the layers: just added layers, and used the move tool. Thus something is wrong somewhere. Krita doesn't remove pixels from a layer if you move it around, which in the end is the reason why you can end up with layers that are bigger than the image. I checked with other applications, and they also don't remove parts of layers that are beyond the image boundaries on saving/loading, so trim to image size is the solution for this issue. |