Description
Hello, I noticed that the BMPCC4k files do not seem to be properly supported in Rawtherapee. When lossy compression is used, there are weird dark purple pixels at or near the highlights, and full clipped white frame results in purple, as seen in the attatched pictures.


Also, sometimes I see black edges on certain sides on certain resolutions when I set the border to zero.

Link to all 24 possible raw file permutation, from resolution (4k DCI 4096x2160, 4k UHD 3840x2160, 1080p 1920x1080), compression level (Uncompressed, Lossless Compressed, 3:1 Lossy compression, 4:1 lossy compression) , and normal exposed or full white clipped.
https://drive.google.com/drive/folders/1HaqJBSw01AAexOA8Rkkc7ycnmu4D8kRD?usp=sharing
Camera firmware 6.1, and Rawtherapee Dev 5.8
Version: 5.8-2178-g6cc9537ab
Branch: dev
Commit: 6cc9537
Commit date: 2020-06-19
Compiler: gcc\ 10.1.0
Processor: generic x86
System: Windows
Bit depth: 64 bits
Gtkmm: V3.24.2
Lensfun: V0.3.2.0
Build type: Release
Build flags: -mwin32\ -m64\ -mthreads\ -msse2\ -std=c++11\ -mtune=generic\ -Werror=unused-label\ -Werror=delete-incomplete\ -fno-math-errno\ -Wall\ -Wuninitialized\ -Wcast-qual\ -Wno-deprecated-declarations\ -Wno-unused-result\ -Wunused-macros\ -fopenmp\ -Werror=unknown-pragmas\ -Wno-aggressive-loop-optimizations\ -DNDEBUG\ -O3\ -ftree-vectorize
Link flags: -m64\ -mthreads\ -static-libgcc\ -mtune=generic\ -s\ -O3
OpenMP support: ON
MMAP support: ON
Build OS: Linux 4.4.0-101-generic x86_64
Build date: Fri, 19 Jun 2020 21:07:32 +0000 UTC
Build epoch: 1592600852
Build UUID: f41dc068-e4b0-4ab4-90ef-71237ada3513