Summary: | about the behaviour of the opacity layers when flattening | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Philippe Nicloux <phil.nicloux> |
Component: | General | Assignee: | Halla Rempt <halla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, halla |
Priority: | NOR | ||
Version: | 2.4-snapshots | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | layer opacity problem |
Description
Philippe Nicloux
2012-02-20 12:05:36 UTC
Hi Philippe, I'm not actually completely sure I can follow you... Could perhaps attach some images to show the problem and the correct way of compositing? Le 22/02/2012 15:28, boud@valdyas.org a écrit : > https://bugs.kde.org/show_bug.cgi?id=294493 > > > boud@valdyas.org changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |boud@valdyas.org > > > > > --- Comment #1 from<boud valdyas org> 2012-02-22 14:28:36 --- > Hi Philippe, > > I'm not actually completely sure I can follow you... Could perhaps attach some > images to show the problem and the correct way of compositing? > Hi Boud, Yes, i thought it should be complicated to explain. Here is a picture. Er, you have to go to the bug and attach it -- bugzilla isn't smart enough to attach an email attachment to the bug :-) Le 22/02/2012 16:36, boud@valdyas.org a écrit : > https://bugs.kde.org/show_bug.cgi?id=294493 > > > > > > --- Comment #3 from<boud valdyas org> 2012-02-22 15:36:27 --- > Er, you have to go to the bug and attach it -- bugzilla isn't smart enough to > attach an email attachment to the bug :-) > silly me ! Created attachment 69008 [details]
layer opacity problem
Nice example! =) Probably, you used "Merge Layer With Layer Below", not "Flatten Image"? I cannot reproduce this behavior with "Flatten Image". Even if Philippe used "Merge Layer With Layer Below", this bug is still valid, because the Gimp works exactly as described. Our implementation just merges one layer into another, while it should create a new node when layers' properties do not coincide. I've got a fix I'll push tonight. Git commit 1dfec3c60478c642d92afb6e2acabd646f0a2345 by Boudewijn Rempt. Committed on 23/02/2012 at 12:14. Pushed by rempt into branch 'master'. Correctly merge two layers We need to merge both layers using the right properties on a third paint device and then use that for the combined layer. M +33 -13 krita/image/kis_image.cc http://commits.kde.org/calligra/1dfec3c60478c642d92afb6e2acabd646f0a2345 |