Uc

Från Svenska Dikter
Hoppa till navigeringHoppa till sök


making an uncompressable image



this is low quality on so many levels its vapourwave in its own style. anyway, it did take several hours to make. which a vlog can as well, except thats ultimate slop.

anyway, just wanted to mention a geeky project i had back in the days. at 10 million colours the increase to 16.7 million goes real slow. and yeah at 10 mil its already 0% compression in zip, and 7z is actually worse.

calculation of the day, the correct one, or around so 2^24/2*1.075= uncompressable grain at 9 million or so colours, for png compression. some version of deflate, its got many different ones available though.

for zip its more 2^24/2*1.2=. or you can do the easy style by just converting 3 rgb images to greyscale, and then copying those separately in each channel, this achieves near maximum png compression in very short time. remember to use forced palette with full 256 greyscales for best effect.

so the interesting part about these differing calculations is related to my previous geek video, where a raw'd zip gets better compressed in png, while a grainy image gets better compressed in zip.

anyway, heres the story (not AI).

DID I JUST MAKE THE BEAUTIFULEST PIECE OF ARTWORK EVER???

yes, here you have it. full spectrum dominance. 16.7 million colours, pure 24bit rainbow, in a scattered form.

this is actually, seriously, the photoshop ive worked the most on. i added a small amount of gaussian grain starting from a grey 4096*4096 image over several weeks, in photoshop elements, so no action automation was available. when i finally arrived at all colours available though, i figured i could just change it to 16bpp and do the grain once and yeah... got all the colours i wanted. so also the fastest photoshop ive ever made.

trying it now it doesnt work that way. one great workaround for more randomness, is converting 3 grain images to 256 colour greyscale, then pasting each in a separate RGB channel. without much effort, you then get a 47mb png. doing plain rgb grain the simple way, produces a 37mb image. still, the first try is 2mb near the limit. so its easily only 2% compressable. interestingly enough, this only produced 350k colours, while the normal one had 2.2 million.

to get the best grain, i use the near lowest possible value, 0.2%, and rgb gaussian distribution.

the challenge is simple. create a 50% greyscale 4096x4096 image, add grain, save as png or whatever format you want, and get the compressable factor down to 0%: 7z of an uncompressed tif would be interesting.

optimization

1 like i said, generate 3 separate greyscale images and put them together. would improve it, but it would probably reduce the compression to 0% long before it reached 16.7 million colours.

2 count how many actions are needed. was it 1000 originally? or 10000? or more?

im sure it was closer to 20000-50000 originally. maybe i did 50 actions per day, and had around 500 saved stages. not quite sure. but probably a lot.

interesting. zip works better than 7z however i try. on version 10, zip creates a 41.4mb zip, while 7z is 41.6mb.

im not quite sure what this is useful for. i remember hearing some geeks talking about using webcams to get random grain. for realtime encryption? dont really know. but geeky youtube videos inspire me. thanks, the algorithm.

now were getting closer. only 10kb difference between 400 generations.

having the image zoomed out speeds up the process, and also reducing cache levels and history levels to 1.

Making uncompressable grain png limit reached.png

oh, it seems i hit the png limit at 8-9 million colours. going beyond this the size stalls at 50 360 466 bytes. what about recompressing it in thumbsplus? no, it got bigger. still, i suppose the limit is around 2^24/2*1.1=9 227 469.

interestingly, the builtin zip compression in tif is worse than an inherent one with default values.

Media:Uncompressable grain 10 million colours 24bit 4096x4096 image.zip