Can you trace it through and see where this goes?

My current hunch is that this is some kind of a representation of a
quantization matrix
(http://en.wikipedia.org/wiki/Quantization_matrix).

But I would have to inspect the code further to see if that is
actually the case.

-- 
Raul



On Fri, Jan 20, 2012 at 2:31 PM, Cliff Reiter <reit...@lafayette.edu> wrote:
> I've made nice progress toward basic image i/o using gdi plus based on
> snipping lots from the platimg and gl2 addons and beating my head on the
> wall. My script now works with basic i/o on J6win and j6win64. I expect
> it will only require a few flip_rbg's to work in J7. While following
> platimg I can set the jpeg quality in 32 bit J, I have not been able to
> do the same in 64 bit (only getting default quality). In platimg we see
>
> bfh=. a. {~ 0 ". '16b' (,"1) _2 ]\ ]
>
> EncoderQuality=: _2(3!:4)bfh'b5e45b1d4afa2d459cdd5db35105e7eb'
>
> which is used in
> params=: 3 : 0
>   p=. <<0
>   infos=. getinfos''
>   fmt=. (4{"1 infos) >@{~ y typendx tolower&.> 3{"1 infos
>   if. (0<#QUALITY) *. 'image/jpeg'-: fmt do.
>     p=. 1,EncoderQuality,1,EncoderParameterValueTypeLong,symdat
> symget<'QUALITY'
>   end.
>   p
> )
>
> The last entry in p is a pointer the the Jpeg_quality. I like mysteries,
> but can anyone explain
> b5e45b1d4afa2d459cdd5db35105e7eb
> to me?
>
> Best, Cliff
>
>
> However,
>
> --
> Clifford A. Reiter
> Lafayette College, Easton, PA 18042
> http://webbox.lafayette.edu/~reiterc/
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to