/All/
|
index
catalog
recent
update
post
|
/math/
/tech/
/misc/
/free/
/meta/
/test/
|
Guide
light
mod
Log
P15959
Sat 2022-10-29 14:35:20
link
reply
336fcb2a5f569e39fd1e1e2e044bc9565311f9aa7980ffd7ccff5c559315c655.png
19.6 KiB 648x432
how do i create images like picrel?
this sort of monochrome i think i know how to make, just save the png with very little pixel information so there are only like 4 colors
but what about the Xs and dots like its a stitching pattern? i see pics like this sometimes, always with a low resources aesthetic, so i wonder if its some png hack, or if they are artificially added
Referenced by:
P15984
P16010
P15979
Sat 2022-10-29 17:36:46
link
reply
933843ccc2bab2df334f91812f274c65dc3b615725f418149f85b403b49c5ba6.png
18.7 KiB 258x312
Ith calledth color dithering, but can be used on 1-bith imathes.
There are several dithering algorithms and you shoudth look abouth ith on deh weth.
The morth youth knoeth the moarth yourth gaeth...
Referenced by:
P15993
P16005
P16005
Sun 2022-10-30 02:29:58
link
reply
4colors.png
21.4 KiB 630x630
4colors-gray.png
26.9 KiB 630x630
4colors-lineargray.png
26.9 KiB 630x630
5colors.png
24.6 KiB 630x630
5colors-gray.png
30.6 KiB 630x630
5colors-lineargray.png
30.6 KiB 630x630
orig.png
353 KiB 630x630
P15979
thanks
i see this sort of image is created using ordered-dithering, but im not sure about the matrix size, i think its 4x4
on imagemagick you just pass `-ordered-dither 4x4` and the `-colors` option is supposed to set the number of colors on the image, but for some reason `-colors 4` only uses 3 colors and `-colors 5` uses 4
but 2 uses 2 color, and 3 also uses 2 colors
6,7,8 use 4 colors
im not really sure how this works tbh, im guessing it controls the color depth not the literal number of colors
also its funny how grayscale images are larger than colored ones, must be some quirk from the way PNG compresses images
Referenced by:
P16031
P16009
Sun 2022-10-30 02:43:23
link
reply
4cCO.png
20.5 KiB 630x630
4cOC.png
21.4 KiB 630x630
oh yea and its really impressive how dithering creates the illusion of a large color depth with very few colors, thats p wack
and i imagine PNG allows hardsetting which color values mean what
bc the 4-color image has white, red and black
and the 5-color image has white, red, yellow and black
oh and the result changes depending on whether -color or -ordered-dither is used first
Referenced by:
P16031
P16010
Sun 2022-10-30 04:19:06
link
reply
c5f977231609bb4375839171f6862a9ba908a4f21fe465c506403c4b9e147202.png
83.6 KiB 281x612
cf9c5c6d579d30dc6274753b1622cf0d335cb4713bd29c1b2d5f2d16f8de26b5.png
15.9 KiB 698x156
P15959
dithering easy in GIMP
Referenced by:
P16031
P16031
Sun 2022-10-30 22:23:16
link
reply
P16005
P16009
P16010
can you people post guide or how to in gimp?
Referenced by:
P16033
P16033
Mon 2022-10-31 03:25:18
link
reply
P16031
Image > Mode > Indexed
or
Colors > Dither
depending on what you want.
Referenced by:
P16064
P16172
P16064
Mon 2022-10-31 15:14:28
link
reply
another quirk of dithering is that jpeg fucking sucks to compress it, which is not a big surprise considering how it works
the dithered image can even be bigger than the original
P16033
should have let him dick around with gimp for at least 5 seconds before giving away the answer
dont encourage newfaggotry
Referenced by:
P16070
P16111
P16111
Harsh
Tue 2022-11-01 07:01:45
link
reply
autism-frog.png
414 KiB 1200x1319
P16064
> the dithered image can even be bigger than the original
> dont encourage newfaggotry
[bold:
Why so mean to noobz
]
Referenced by:
P16127
P16172
Wed 2022-11-02 20:21:25
link
reply
P16033
I see random dither is one of the options. "Random" dither would be an easy way to hide lots of data in an image, and if you used an encryption method practically indistinguishable from random noise, it would be very hard for distinguishing "random" dither from truly random dither.
Challenge: Find a good way to encode data in "random" dither in such a way that you can extract the data given the encryption key. Should be easy if you assume the original image is available to compare to, more difficult if you don't necessarily have the original image.
Referenced by:
P16212
P16212
Thu 2022-11-03 18:57:42
link
reply
9898c38feb6bd8adfebdd29f378b69e4a5903eeeaddfd8f39f29c3d0419d1d6a.png
662 KiB 1200x1319
dc35aec9881632ace191b722d217aa04f299636626716798d95f3974ece96246.png
136 KiB 1200x1319
801a09cba0078a6f8aa6f6c32988e0c928475b0cf85f8726af2cdc973197dfd2.png
77.1 KiB 1200x1319
7aa3fc0af0dc6ea06dd1fa4f2712c166a28837ed161d3d185303517769d9a698.png
332 KiB 1200x1319
P16172
Problem is random dither looks so ugly it's unlikely many people would use it. The deterministic ways of doing dithering look much nicer. There's also a "blue noise" option that looks okay, well, better than the random one at least.
Referenced by:
P16213
P16213
Thu 2022-11-03 19:00:05
link
reply
P16212
Forgot to keep filenames; those are random, Floyd-Steinberg, Bayer, and blue noise. I also notice the deterministic ones can produce a lot of aliasing if the image is scaled.
Mod Controls:
x
Reason: