Opened 3 years ago
Last modified 3 years ago
#17157 assigned bug
Bilinear image scaling error
Reported by: | jscipione | Owned by: | jua |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Servers/app_server | Version: | R1/beta3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Scaling images using bilinear scaling algorithm produces slightly incorrect colors.
Steps to reproduce:
- Open an image with a pure white background in ShowImage.
- Make sure the image is not scaled by pushing the Original size button (the magnifying glass with a 1 inside).
- Open Magnify and hover your mouse over the background to verify that it is #ffffff.
- Scale the image by pushing Magnify + or Magnify - button or scrolling your mouse wheel, it doesn't seem to matter if you up or downscale the image.
- Observe with Magnify by hovering your mouse over the background of the image that the background has changed to #fefefe.
Attachments (2)
Change History (6)
by , 3 years ago
Attachment: | apple26.jpeg added |
---|
comment:1 by , 3 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 3 years ago
Assigning to jua because he committed the code responsible for this in src/servers/app/drawing/Painter/bitmap_painter/DrawBitmapBilinear.h back in 2015.
comment:3 by , 3 years ago
JPEG is a bad example of investigating pixel-precise problems.
Version 0, edited 3 years ago by (next)
by , 3 years ago
Attachment: | bartlett-pear-1269879.height-400.width-750.png added |
---|
sample png image bartlett-pear.png
comment:4 by , 3 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
sample image apple26.jpeg