Dmitry

Results 49 comments of Dmitry

@brianpopow wait, TIFF images can be encoded with jpeg YccK color, right? Usually such 'inverted' images could be generated via invalid rgb -> ycck conversion formula: ```cs // rgb ->...

One little nuance: it can break existing quality estimation if **grayscale** image have zeroed chroma table and you put some random values or simply a single `1` in the DQT...

> Questionable approach for Jpeg, but still used in the current tests. I don't really have an idea how to compare new output color types in jpeg encoder. Funny thing,...

Yes I believe but it can downgrade test performance. Situation when two threads access same image reference which would be null should be fairly rare to use a lock here....

> Was going to have a look at this but realized `var img = Interlocked.Read(this.image);` doesn't compile. Hi! Well, I was sure it existed :P I guess we can just...

Oops, totally missed this conversation, I'm sorry. We can work something out after jpeg decoder :)

Jpeg took far more time than I've expected, at least we now know that fixed point thingy may not be a good solution.

> > `new JpegEncoder { Progressive = true }` > > One should be also able to set the number of scans. It's better to provide just a `ProgressiveScansCount` property...

> Sorry just saw your edit. `ProgressiveScansCount` is a better suggestion. Still the question remains if you dont want a default for the number of scans? ```csharp public int? ProgressiveScanCount;...