# Wrong alpha values with Graphics::fillPath()

**URL:** <https://forum.juce.com/t/wrong-alpha-values-with-graphics-fillpath/24514>\
**Category:** General JUCE discussion\
**Created:** [October 5, 2017, 2:22pm UTC](https://forum.juce.com/t/wrong-alpha-values-with-graphics-fillpath/24514 "2017-10-05T14:22:00Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![janhanten](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@janhanten](https://forum.juce.com/u/janhanten)\
**Post date:** [October 9, 2017, 9:47am UTC](https://forum.juce.com/t/wrong-alpha-values-with-graphics-fillpath/24514/11 "2017-10-09T09:47:54Z")

</div>

Thank you for your suggestions.  
Using g.fillRect() is not an option because I want to use more complex shapes too.  
Making the path slightly bigger does not help. Even when the path overlaps the image border the last pixel of the image has the reduced alpha value.

Sorry for cross linking to another post in this forum. But this question

> [@Image with more bits per pixel (10bpp, 12bpp)](https://forum.juce.com/t/image-with-more-bits-per-pixel-10bpp-12bpp/24417):
>
> Hello, I need to process images with 10 or 12 bits per pixel and i would like to manipulate them with a graphics object. I have found old posts also asking for higher bitrate support. A summary of the answers is something like “interesting / but a lot of work / so not now”. Since this was several years ago I want to ask if something changed on that situation. Are there any plans to support more bits per pixel in the near future? Regards, Jan

has a big impact on finding a solution for my current problem.  
Could you be so kind to give me a short answer on this. It would really help me to find a solution.

---

_[View the full topic](https://forum.juce.com/t/wrong-alpha-values-with-graphics-fillpath/24514)._
