Post B8HBo6vTC71zU7uBwO by natty@astolfo.social
(DIR) More posts by natty@astolfo.social
(DIR) Post #B8H1TCL2sPSWeHG1QW by luna@lunar.place
0 likes, 0 repeats
does anyone know react
(DIR) Post #B8H1TCYW4KEbK3YmQK by luna@lunar.place
0 likes, 0 repeats
i NEED answers
(DIR) Post #B8H1TClzGF0fzprXQ8 by natty@astolfo.social
0 likes, 0 repeats
@luna@lunar.place uh ohparsing React?
(DIR) Post #B8H24XzrJYdeXF9nwe by luna@lunar.place
0 likes, 0 repeats
@natty@astolfo.social no just trying to read the code
(DIR) Post #B8H24YAqehQf5KIa4e by luna@lunar.place
0 likes, 0 repeats
@natty@astolfo.social i want to find out what is exporting the pngs in this thing https://github.com/matheowis/HDRI-to-CubeMap
(DIR) Post #B8H24YOfpIUJmClcci by natty@astolfo.social
0 likes, 0 repeats
@luna@lunar.place It assembles the data in a WebWorker and listens for it in https://github.com/matheowis/HDRI-to-CubeMap/blob/master/src/converters/hdrConverterEmissive.jsCalling resolve makes the awaited promise returnhttps://github.com/matheowis/HDRI-to-CubeMap/blob/0dbf927572dc9d4eb75e638b0c1c0d6bcf72c400/src/three/render/hdrRenderProc.js#L17 is the place where it builds the zip
(DIR) Post #B8H3EwfAYoNFt10AQS by luna@lunar.place
0 likes, 0 repeats
@natty@astolfo.social but how does it make the png in that zip file?
(DIR) Post #B8H3EwyfOJyCrU7joe by natty@astolfo.social
0 likes, 0 repeats
@luna@lunar.place Ah right The canvas.toBlob does it for you
(DIR) Post #B8H3JyOdXkXCi5fMyO by natty@astolfo.social
0 likes, 0 repeats
@luna@lunar.place canvas was until recently the only easy way to write image data into a reasonable format
(DIR) Post #B8H4B27MRDZlbEt1oO by luna@lunar.place
0 likes, 0 repeats
@natty@astolfo.social huh.. I seeSo it is Firefox that puts garbage in my pngs?
(DIR) Post #B8H4B2NfSacUPoW3EG by natty@astolfo.social
0 likes, 0 repeats
@luna@lunar.place I'd have to look with a hex editor
(DIR) Post #B8HBNPZxjbSHWA7996 by luna@lunar.place
0 likes, 0 repeats
@natty@astolfo.social it's just a 16 byte chunk at the end of the data stream, before the IEND chunk, and its not documented anywhere.The chunk itself is filled with ASCII data , at least for me
(DIR) Post #B8HBNPn4wpwmAqFcae by luna@lunar.place
0 likes, 0 repeats
@natty@astolfo.social tho that data doesn't make sense on its own(Maybe it's base64? I should check tomorrow)
(DIR) Post #B8HBNQ1c4nZatv3EFE by natty@astolfo.social
0 likes, 0 repeats
@luna@lunar.place Oh fuck it might be fingerprinting protectionhttps://searchfox.org/firefox-main/source/image/encoders/png/nsPNGEncoder.cpp#572Do you still get the deBG chunk with enhanced protection off?
(DIR) Post #B8HBo6vTC71zU7uBwO by natty@astolfo.social
0 likes, 0 repeats
@luna@lunar.place Huh that would be really funny if Firefox resisted fingerprinting by adding a fingerprint