Issue 68180 - Tolerance in Eyedropper wrong on bitmaps
Summary: Tolerance in Eyedropper wrong on bitmaps
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: editing (show other issues)
Version: 680m179
Hardware: PC Windows XP
: P3 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-05 12:43 UTC by Regina Henschel
Modified: 2017-05-20 11:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
example with the described bitmaps (13.69 KB, application/vnd.oasis.opendocument.graphics)
2006-08-05 12:44 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2006-08-05 12:43:25 UTC
Take a draw document and draw a rectangle. Set the background to gradient from
red to green.
Copy rectangle and insert it as "Bitmap".
Copy rectangle and convert it to "Bitmap".
Export the rectangle to any bitmap file format, for example to 'Portable Network
Graphic (.png)'. Insert the graphic.

Open eyedropper, fetch red with the pipette, set 'Replace with' to blue with
tolerance 50%.
Now click on the bitmaps you have created above and click on Replace button. You
will get a blue part of about a quarter, but it should be a half.

To see, how it should work, export the rectangle to 'Enhanced Metafile' and
insert that graphic. Use Replace there and you get a blue part of half of the
rectangle.
Comment 1 Regina Henschel 2006-08-05 12:44:21 UTC
Created attachment 38289 [details]
example with the described bitmaps
Comment 2 wolframgarten 2006-08-07 08:08:35 UTC
Reproducible, somehow. I cannot figure out exactly for what the procent number
is used here. If I have a rectnagle with a black to white gradient left to right
converted to bitmap and I replace 50% black one should think that half of the
filling is replaced. But it is not. It seems to be one fourth. 100% replacing
black replaces just about 40 % of the filling.
Comment 3 Armin Le Grand 2006-08-08 10:58:27 UTC
AW->THB: I do not know where the color replace mechanisms are which are used
here, but i guess they are under Your control.
Comment 4 Marcus 2017-05-20 11:29:22 UTC
Reset assigne to the default "issues@openoffice.apache.org".