Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Tolerance in Eyedropper wrong on bitmaps|
|Product:||Draw||Reporter:||Regina Henschel <rb.henschel>|
|Component:||editing||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Target Milestone:||AOO Later|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
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.