[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

What's the smallest filesize you can get an image to be?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 41
Thread images: 6

File: huh.gif (31B, 1x1px) Image search: [Google]
huh.gif
31B, 1x1px
What's the smallest filesize you can get an image to be?
>>
1 bit (a raw 1x1 monochrome image)
>>
IIRC the smallest we could get here is 30 bytes.
>>
>>57234539
If no requisites, this >>57234731.
>>
>>57234539
a pic of my dick
>>
What's the smallest Pepe
>>
>>57235119
why? because of resize?
>>
summoning webp autist
>>
Couldn't you just program an image?
>>
>>57235384
yea just have to write a gui in node.js to put deep learning on my big data
>>
>>57234731
raw images have headers containing EXIF and such.
>>
File: Capture.png (22KB, 381x271px) Image search: [Google]
Capture.png
22KB, 381x271px
>>
>>57235397
>raw images have headers
i don't think we're talking about the same thing here
>>
>>57235443
just because the filename ends in ".bmp" doesn't make it a valid windows bitmap file
>>
>>57234539

oh look it's this thread again

what's the point
>>
>>57234731
please show us how you write a single bit to a file
>>
>>57235476
Then what kind of "raw" image are you talking about?
>>
>>57235537
where did i say i could do that?

op didn't mention files
>>
>>57235537
Let's build a computer.
>>
>>57235566
yes he did you retard
>>
>>57235566
even if he didn't mention FILEsize, good luck writing a single bit to RAM.
>>
File: 35B.gif (35B, 1x1px) Image search: [Google]
35B.gif
35B, 1x1px
>>
>>57235737
either way, the smallest possible image is 1 bit
not being able to directly work with only 1 bit is another issue (one of overhead)

you also can't store a file on a hdd without it taking up at least 512 bytes (or 4096 bytes for more recent hdds) due to that being the smallest addressible unit (a sector)
does that mean a file can't be smaller than 512 bytes? no, it just means they just incur some overhead at a lower layer
>>
>>57235737
#include <stdio.h>

main () {
struct single_bit {
unsigned int bit : 1;
unsigned int bits : 7;
} a;
a.bit = 1;
if (a.bit) printf ("I've wriiten a bit!\n");
}
:^)
>>
>>57235880
>1-space indentation
>>
File: 1477421728375.gif (30B, 1x1px) Image search: [Google]
1477421728375.gif
30B, 1x1px
>>57234539
>>
>>57235923
Yes, and?
>>
>no one's mentioned the empty image yet
>>
>>57236160
What empty image?
>>
>question what the smallest valid image is
>nobody cites the specs
We need to bring back /prog/
>>
>>57236327
The smallest valid image is obviously the smallest image you can post to 4chan.
>>
File: test.gif (35B, 1x1px) Image search: [Google]
test.gif
35B, 1x1px
>>57236666
checked
>>
>>57236160
If you zoom in all the way you can see it
>>
>>57235372
Paging his friend r8 nao
>>
>>57237002
I doubt webp can beat >>57236070
It has too much metadata.
>>
>>57234539
just make an empty file and change the extension :^]
>>
File: punch.jpg (373KB, 1492x759px) Image search: [Google]
punch.jpg
373KB, 1492x759px
If we consider mechanical computing, this file is equal to 0 bit.
>>
>>57238977
>If we consider mechanical computing, this file is equal to 0 bit.
Your "file" is one line of code. One FORTRAN statement.
Kids these days.
>>
>>57236666
checked
>>
>>57238977
>the hacker known as FORTRAN
>>
>>57236070
Technically that isn't the smallest possible file. Only the smallest file that is considered a non-corrupt file by 4chan.

By GIF's specifications this is the smallest:
https://github.com/mathiasbynens/small/blob/master/gif.gif
Thread posts: 41
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.