I made my own Image File Format

  Рет қаралды 471,361

FaceDev

FaceDev

Күн бұрын

Image File Formats are... images.
GitHub: github.com/fac...
Patreon: / facedevstuff
Discord server: / discord
Twitter: / facedevstuff
🎵 The music I use: share.epidemic...
Outro song - • 9 • Nine Nights • Day ...
Thumbnail art by @JersonEXE
Twitter: / jersonbrawlstar
Thanks for watching!

Пікірлер: 687
@FlushDesert22
@FlushDesert22 7 ай бұрын
"I'm tired of these stupid image file formats, so I'm contributing to the problem"
@akaithecreator7448
@akaithecreator7448 7 ай бұрын
439 likes and 1 reply?
@Ali_Jafari
@Ali_Jafari 7 ай бұрын
😂😂
@BadmanYT-1254
@BadmanYT-1254 7 ай бұрын
@@akaithecreator7448 why are you here
@Sirbozo
@Sirbozo 7 ай бұрын
lol
@nonexistentsquare2092
@nonexistentsquare2092 7 ай бұрын
@@BadmanYT-1254bro really said “Begone fool, for thou hath spoken too foul a word to remain” 💀
@henrispriet9812
@henrispriet9812 6 ай бұрын
Instead of making an image compression format, bro made an image expansion format
@NebulaHatesWatchdog
@NebulaHatesWatchdog 2 ай бұрын
It’s not expansion, it’s just raw. No compression ≠ expansion
@Visitor______________________v
@Visitor______________________v 2 ай бұрын
ITS RAW
@cerulity32k
@cerulity32k 2 ай бұрын
​@@NebulaHatesWatchdog he used twice as many characters than what was needed without compression, i count that as expansion
@aryanmn1569
@aryanmn1569 Ай бұрын
He is using a only hex digits out of the full domain of bytes, aka using 4 bits out of 8, so, yeah
@sustrackpointus8613
@sustrackpointus8613 Ай бұрын
​@@Visitor______________________v how is that raw? Raw would be if he used 32 bytes per pixel, instead he made a somewhat-human readable format for images lmao
@kousheralam
@kousheralam Жыл бұрын
wow, coverting a binary -> string -> do string manipulation -> show from the string. What's inside your head bro, it's pure genius
@haraldbackfisch1981
@haraldbackfisch1981 Жыл бұрын
Going from int to string to almost always a terrible idea, just thinking of memory or lack of multiplication for data manipulation, have fun blurring in hex with strings. I love that he did it tho, sometimes u just gotta f around and find out, else we wouldn't have nice things in the first place :)
@AOSP-is-still-Linux
@AOSP-is-still-Linux 8 ай бұрын
​@@haraldbackfisch1981 I think the OP was ironic, as the format of the message felt like that.
@haraldbackfisch1981
@haraldbackfisch1981 8 ай бұрын
​@@AOSP-is-still-Linux youre right idk what i was thinking... wasnt thinking i guess 😅
@Aloofmeepgamer
@Aloofmeepgamer 7 ай бұрын
Srsly
@stgigamovement
@stgigamovement 7 ай бұрын
BWTC32Key B3K files are what happens after crossing compression with encryption with binary-to-text encoding. It actually works well in spite of me doing it because I don't like Base64.
@y32code16
@y32code16 7 ай бұрын
2:27 "turns out its not 3.5 times more size" *shows a picture of 3.3x* "it can go up to 98 percent more size" *shows a picture of 98 times more size* on a 160.2 times more size image. yep thats face dev for ya
@Kynatosh
@Kynatosh 5 ай бұрын
Yeah that was really weird, bro can't calculate
@MrNosounder
@MrNosounder 3 ай бұрын
I fucking love how random these numbers are
@lizkeres2593
@lizkeres2593 7 ай бұрын
The major difference between jpeg and PNG is not only transparency but also the compression
@borstenpinsel
@borstenpinsel 7 ай бұрын
Both are compressed. Just with really different methods. Jpeg tries to emulate chunks of 8x8 px with parameters to a trig function (lossy to veeerry lossy depending on some parameter, but even the best quality (and thus worst compression factor) is very lossy). PNG however is basically a bitmap (lossless, no compression) which is then compressed with tar/gz algorithm. Basically cheating by making the 3rd party compression algorithm part of the file definition. It's like putting wave files into a zip folder and calling it a new audio format.
@ursulmusic
@ursulmusic 7 ай бұрын
​@@borstenpinselSomething like audio FLAC, as it's lossless compression for PCM audio?
@milesmartig5603
@milesmartig5603 7 ай бұрын
jpeg and png both can store a lossless image
@CryptoOfficial
@CryptoOfficial 7 ай бұрын
@@milesmartig5603 jpeg is per definition a lossy format even if you crank up the quality to 100% it’s still doing magic things with Fourier transformation and converting your image in a lot of lookalike patterns that they are close enough of the original pixels.
@Henrix1998
@Henrix1998 7 ай бұрын
​​@@borstenpinselYou can't say PNG doesn't have compression, it just has lossless compression, even before tar/gz
@dvidpi
@dvidpi 7 ай бұрын
wowzers, im converting all images in my gallery to .bruh files! so efficient, fast and lightweight
@procgne
@procgne 2 ай бұрын
D1 glaze
@theelite2351
@theelite2351 Ай бұрын
@@procgne its a joke
@procgne
@procgne Ай бұрын
@ “erm its a joke!!!11” no dip 🙏 💀
@theelite2351
@theelite2351 Ай бұрын
@@procgne ?
@procgne
@procgne Ай бұрын
@@theelite2351 keep thinking abt it buddy!
@dalhaan
@dalhaan Жыл бұрын
Tip: you can half the size of your files if you store the RGB values as raw bytes instead of characters. Each character is 1 byte long (assuming you are using a 1 byte character encoding like ASCII or UTF-8), but a hex character just represents half a byte in a human readable format. "9e", for instance, just represents the number 158 (uint8) which only takes up one byte, where storing "9e" as two characters you are using two bytes. Hex goes from 00 (0) -> FF (255), which is exactly how much a byte can hold. To do this you'll need to allocate a buffer of the number of pixels in the image times 3 (RGB per pixel = 3 bytes (1 byte for each colour) * number of pixels), then for each pixel: write a uint8 for the red value, write a uint8 for the green value, write a uint8 for the blue value. To read the file, loop over each pixel and read each byte (uint8) instead of writing.
@dalhaan
@dalhaan Жыл бұрын
If you wanted you could also add an alpha channel by just adding an extra byte after blue, this would make each pixel 4 bytes instead of 3. And now you've created the bitmap image format 🙂
@sollybunn
@sollybunn Жыл бұрын
Doesn't he do this 3m into the video
@FaceDevStuff
@FaceDevStuff Жыл бұрын
@@sollybunn I only stored the metadata (width & height) as bytes, the rest is full of hex values
@rumisbadforyou9670
@rumisbadforyou9670 Жыл бұрын
he knew that, he's being rеtагded for no reason. he's just wants to jack up the yt algorithm, thinking "one day i will be making quadrillion dollars per nanosecond by pооping out: 'i pressed a key on my keyboard' / 'i copied seven lines of code from stack overflow' type of videos, yupeee!"
@sollybunn
@sollybunn Жыл бұрын
@@FaceDevStuff that's a bruh moment (you didn't really expand on "were dealing with raw bytes now" so that's what I assumed)
@alastor--radiodemon7556
@alastor--radiodemon7556 7 ай бұрын
bro made a .bmp
@magicjinn
@magicjinn 7 ай бұрын
was about to comment this
@_kitaes_
@_kitaes_ 7 ай бұрын
but worse
@alastor--radiodemon7556
@alastor--radiodemon7556 7 ай бұрын
@@_kitaes_ just a tiny bit worse but it balances out with the funnies :3
@magicjinn
@magicjinn 7 ай бұрын
@@_kitaes_ yeah, but it ends with .bruh, worth it
@nomorebadmilo
@nomorebadmilo 7 ай бұрын
bro, why are you here, smily face demon.
@Ceelbc
@Ceelbc Жыл бұрын
By converting it into hex of 6 characters, you lost transparency. However, if you made it hex of 8 characters long, you could keept the transparency.
@blissful4992
@blissful4992 Жыл бұрын
very inneficient
@Luna5829
@Luna5829 8 ай бұрын
with 8 characters you'd only get 1 decimal point of transparency 9 characters is pretty good tho
@Ceelbc
@Ceelbc 8 ай бұрын
@@Luna5829 RRGGBBTT, with T transparency. So 256 values. What do you mean with 9? Am I missing something? (I don't count the # you would write in code since it is not needed)
@Luna5829
@Luna5829 8 ай бұрын
i forgot the transparency could also be in hex and not in decimal but still, with T / 255 being the transparency, you'd miss quite a few numbers
@LimoDieFlasche
@LimoDieFlasche 7 ай бұрын
@@Luna5829 You wouldn't miss anything visible to the human eye ^^ There's a reason why no one uses amounts above one byte (2 hex digits) per color
@dingus_the_2nd
@dingus_the_2nd 7 ай бұрын
Now make a .huh file that is an audio format
@smokedice
@smokedice 6 ай бұрын
this but its just a .wav stored as a string
@HiloYT
@HiloYT 6 ай бұрын
and then .bruhuh for videos
@Koreley
@Koreley 6 ай бұрын
@@HiloYT you could make a conlang out of this
@osxfinderistaken
@osxfinderistaken 6 ай бұрын
.huh3 then .huh4
@PJM257
@PJM257 5 ай бұрын
judging by how badly he struggled with an image format, i don't think he's ready to try an audio format lol
@m4rt_
@m4rt_ 6 ай бұрын
situation: there are 10 competing formats solution: lets create a new one to replace the old ones. new situation: there are 11 competing formats (Heavily based on an XKCD comic)
@devara_ma
@devara_ma 7 ай бұрын
So this is what it feels like to be the guy who made the .webp file format
@sagnikkundu89
@sagnikkundu89 5 ай бұрын
Webp is good actually pls research
@devara_ma
@devara_ma 5 ай бұрын
@@sagnikkundu89 so the joke went over your head. I was talking how it got the same degree of support as .webp.
@sagnikkundu89
@sagnikkundu89 5 ай бұрын
@@devara_ma xDd. It wasn't obvious to me
@rka3477
@rka3477 7 ай бұрын
congrats you invented .bmp
@urisinger3412
@urisinger3412 7 ай бұрын
But 2x bigge
@realrunnow
@realrunnow Жыл бұрын
1:21 delusion on a next level
@joseph_gerald
@joseph_gerald 8 ай бұрын
Storing raw bytes is unheard of why not use a human readable 4bit representatipn instead (hex)?
@urisinger3412
@urisinger3412 7 ай бұрын
If people are gonna read your image file they will do it in a hex editor​@@joseph_gerald
@bits360wastaken
@bits360wastaken 7 ай бұрын
@@joseph_gerald Not sure if stupid or trolling, your not going to give an image format the ability for someone to download it to their desktop, open up notepad, and read an images letters and reconstruct it in their mind at the cost of a 10-100x file size increase. And storing raw bytes is unheard of, look at the .png and .jpg format specifications for a clue on how deep it actually goes.
@joseph_gerald
@joseph_gerald 7 ай бұрын
@@bits360wastaken sorry was sarcasm 🥲
@_kitaes_
@_kitaes_ 7 ай бұрын
@@bits360wastaken png stores compressed raw bytes
@Bigpoo7
@Bigpoo7 7 ай бұрын
web✅code editor✅programing lang✅text editor✅image file format✅operating system❌
@stgigamovement
@stgigamovement 7 ай бұрын
What's next? A coding font? Don't know if it can have more characters than UnifontEX.
@o_q
@o_q 7 ай бұрын
the interlacing on this video is making me crazy
@Aeduo
@Aeduo 7 ай бұрын
I think that might be part of the shitpost.
@FaceDevStuff
@FaceDevStuff 7 ай бұрын
@@Aeduo nope, just plain stupidity on my part
@RockRemastered
@RockRemastered 7 ай бұрын
I was thinking the exact same. Now the real question is, does it deinterlace ?
@oppok5657
@oppok5657 7 ай бұрын
@@RockRemastered probably not because youtube's VP9 compression screws with interlacing
@RockRemastered
@RockRemastered 7 ай бұрын
@@oppok5657 that's pretty right. Resizing is the worst thing. But downloading the h264 video would maybe work.
@FaZekiller-qe3uf
@FaZekiller-qe3uf 7 ай бұрын
"Hex" is representing the color data in base sixteen whilst "RGB" (don't include the alpha channel, it's not a fair comparison) is representing it in base 10. It's the same exact data. There's no space "reduction" if you don't bloat it by storing it in ASCII, but you figured that out. Instead of bloating the file with line breaks you can just have a small header with the height and width.
@ACactusMan
@ACactusMan 7 ай бұрын
I will be using .bruh images as the primary image type on my pc
@black360d
@black360d 7 ай бұрын
Same
@YoutubePizzer
@YoutubePizzer 7 ай бұрын
avif is actually conceptually really cool: if you guys follow video formats, there’s been a big push to add AV1 support to everything because of how much of a huge leap in quality it is over essentially everything else. So much so, that if you encoded an image as a single frame of an AV1 video, it would be better quality than the other image formats available. So that’s exactly what it is. It makes a tonne of sense to use the same compression algorithms for both video and image and could in theory mean you could make hardware-accelerated images too. Very resource efficient, it would be great if we could just magically convert absolutely everything to use exclusively AVIF from now on
@neutronpcxt372
@neutronpcxt372 6 ай бұрын
It's not. JXL is better.
@Yiss8
@Yiss8 6 ай бұрын
JXL better
@pachinger
@pachinger 6 ай бұрын
No it actually doesn't make a ton of sense to use the same compression for video and static images. Video codecs usually use the information of multiple frames to be more efficient. Just thinking about P/B/I-frames, chroma subsampling, etc.
@chonchjohnch
@chonchjohnch 5 ай бұрын
Hope alphabet sees this bro 🫶🏻
@waralo191
@waralo191 5 ай бұрын
You should check out jpegxl, google is blocking it to maintain their monopoly. Since they own AVIF, and want it to become the standart
@Ahnaf_Shariar
@Ahnaf_Shariar 6 ай бұрын
WOW, we are getting .bruh image file format before GTA 6.
@marcels.7074
@marcels.7074 Жыл бұрын
i wanted to make a JSON image format { "meta": { "size": "69x420" }, {"pos":[1,1], "color":"696969"} .... }
@FaceDevStuff
@FaceDevStuff Жыл бұрын
sounds hella inefficient, love it!
@SIMULATAN
@SIMULATAN Жыл бұрын
Should call it "jif" for maximum confusion
@thefirstuwu8874
@thefirstuwu8874 Жыл бұрын
@@SIMULATAN can call it "Jim" - Json IMage
@bambi186
@bambi186 Жыл бұрын
Absolute madman
@mgord9518
@mgord9518 9 ай бұрын
This isn't too far off from plaintext images from the days of old like PPM. Sure, it's absurdly inefficient as far as size goes, but you can edit it with nothing but a text editor, easily understand the format just by looking at it and they're very rarely used for large images anyway
@per2632
@per2632 Жыл бұрын
3:48 hex colors don't even have transparency and you used alpha type opaque for the png, so i'm surprised it showed anything other than complete white before you put a number there.
@ジンクスSPL
@ジンクスSPL 2 ай бұрын
3:47 "whats causing the problem?" *"I DONT KNOW"* - every programmer ever
@KryptonTR
@KryptonTR 7 ай бұрын
5:08 this song is a masterpiece
@kevenrodriguesmeirelles2241
@kevenrodriguesmeirelles2241 Жыл бұрын
you're in my top 10 Dev KZbinrs, I love your projects!!
@Potencyfunction
@Potencyfunction Жыл бұрын
I dont understand anything from it, I belive I am not for that. My skills and preferences are other, but is always good to have an eye on what is real and in trend with others.
@thefirstuwu8874
@thefirstuwu8874 Жыл бұрын
1:22 I'm not an expert, but one byte should be able to give 256 unique combinations, as it has 8 bits and one bit has 2 states - 2 combinations ^ 8 bits = 256, we even have a place for zero. (an int value usually weights 2-4 bytes, but I don't think we need its extra functionality for storing a number from 0 to 255). HEX uses 6 characters - each character is 1 byte, so 1 * 6 = 6. I think you can do both methods equivalent in bytes, but RGB is more intuitive. Edit: Oh, everyone already commented about this :p
@maxamillanman9050
@maxamillanman9050 7 ай бұрын
Low-key you explained better than my Prof tho
@5ersx
@5ersx Ай бұрын
You know what’s worse? WEBP, I HATE IT SO MUCH.
@RICseries
@RICseries 5 күн бұрын
true but i hate svg more because only scratch and fandom support it
@artiitheworld
@artiitheworld 7 ай бұрын
why is this video interlaced
@EchoWorks25
@EchoWorks25 18 күн бұрын
The .png to .bruh issues was so real
@kevinchandra280
@kevinchandra280 6 ай бұрын
Bro spent much hours, energies, and computer memories just for this "meme".
@yeonfish1962
@yeonfish1962 7 күн бұрын
Hahaha you said do not use this format. But i''ll use this for our freshman CTF... RIP freshman
@GalaxinTM
@GalaxinTM 8 ай бұрын
avif still superior - transparency - better compression than jpeg - can be animated like gifs (comparable to video format quality)
@official-obama
@official-obama 7 ай бұрын
according to wikipedia, it is open and royalty free too
@urisinger3412
@urisinger3412 7 ай бұрын
​@@official-obamaPNG and jpeg both are
@MarkTheCat
@MarkTheCat 2 ай бұрын
everything about this video (the actual contents and the mad interlacing) is completely and utterly cursed
@poka26ev2
@poka26ev2 7 ай бұрын
This reminds me of the .stalin image I created 3 months ago to send sus photos in case the group chat gets leaked
@poonamshah3930
@poonamshah3930 3 ай бұрын
At this rate bros about to make his own programming language to make these in....... oh no wait he already did it
@Pcexperiments
@Pcexperiments 7 ай бұрын
you can use regedit ti automatically set how it opens, what icon it has and add it to `right click>new` menu
@haithem8906
@haithem8906 18 күн бұрын
1:19 RGBA to HEX is actually 8 characters. Last 2 are for opacity(a in RGBA) Also you can easily add compression with gzip. And it decompresses on launch.
@remboldt03
@remboldt03 8 ай бұрын
You just made a worse bitmap. But I really like it. I love those indi projects
@AGentooUser
@AGentooUser 2 ай бұрын
1:15 that's not how it wor... You are storing it in strings!? Why?!
@yukiqt
@yukiqt Ай бұрын
yeah, JSON would be way easier to parse!
@AGentooUser
@AGentooUser Ай бұрын
@yukiqt No, I meant just writing raw i8's into the file, does not have to be openable in notepad
@IvyTheLeafeon470YT
@IvyTheLeafeon470YT 2 ай бұрын
I now want to send a .bruh image to my friends.
@glengal6490
@glengal6490 4 ай бұрын
Though most of your videos are completely useless. It teaches me more than my college. My favorite youtuber so far. Love you brooooo
@iwillgethagh
@iwillgethagh 7 ай бұрын
I was waiting for the "This video is in the .bruh format" 🥵🤧🥵
@alword
@alword 6 ай бұрын
.bruh4 video with .bruh3 sounds
@chickenspaceprogram
@chickenspaceprogram 3 ай бұрын
my man reinvented bitmap images, incredibly based
@ner0718
@ner0718 7 ай бұрын
I can not state how happy it made me to hear Nine Nights by 20syl in the outtro. I really enjoyed your editing style.
@FaceDevStuff
@FaceDevStuff 7 ай бұрын
I love that song 😄
@cheesepop7175
@cheesepop7175 7 ай бұрын
*outro
@KyriproShorts
@KyriproShorts 6 ай бұрын
What in the.bruh is this. Like what the.bruh
@attoblaze3395
@attoblaze3395 Ай бұрын
I think it worked when you set the alpha to 0.004 because its approximately 1/255. I think the alpha before encoding was stored in the range 0 to 1 but was being encoded as if it was in the range 0 to 255 such that an alpha of 1 became an alpha of 255 when encoded and was therefore being decoded as a value 255 times higher than what it originally was. When you set the alpha to 0.004 it was effectively renormalizing the decoded alpha value so it would be in its original range of 0 to 1 again
@amynagtegaal6941
@amynagtegaal6941 2 ай бұрын
2:20 aren't you storing the hex values as text characters instead of actual hexadecimal?
@katamari_
@katamari_ 7 ай бұрын
thank you for defeating the monstrosity that is webp files
@peterweston6588
@peterweston6588 6 ай бұрын
If you are storing the hex in ascii, you can zip it like any text file.
@GameJam230
@GameJam230 7 ай бұрын
If I go to download transparent pngs and find a load of files that are just bruh files pretending to be pngs then I'm actually going to riot. *You did this.*
@Trayfellow
@Trayfellow 7 ай бұрын
Close enough, welcome back carykh
@MaxCE
@MaxCE 7 ай бұрын
i always had an idea to detect text and store the characters used like as a font. then it would only store the position of the text. this would be useful for text over detailed backgrounds.
@LiEnby
@LiEnby 2 ай бұрын
I can’t wait until I find png files renamed to bruh
@Purr-FurryKit1726
@Purr-FurryKit1726 Ай бұрын
This is your first video that i watched!
@xFifaEuro271
@xFifaEuro271 7 ай бұрын
man i love this video.Bruh
@hedgehogsch.7270
@hedgehogsch.7270 7 ай бұрын
congrats! You just invented the netpbm file format 😊
@JamesR624
@JamesR624 5 ай бұрын
The who-what now?
@BaileySimulator
@BaileySimulator 4 ай бұрын
good vid!! ก้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้้
@technik_hea
@technik_hea Ай бұрын
welp, I got a challenge for myself now, take this extension, rewrite it in my own programming language and fix the code for that programming language meanwhile too
@ToxicMothBoi
@ToxicMothBoi 2 ай бұрын
Finaly a good file format, the .bruh format🙏 Like god intended
@Mats_Games
@Mats_Games 7 ай бұрын
1:15 1080i detected
@TheCongregationGuy
@TheCongregationGuy Ай бұрын
2:01 WHY IS THERE A SINGLE SPACE
@glintcoretheprotogen
@glintcoretheprotogen 7 ай бұрын
i want you to make this more efficient than pngs so we can take over internet
@Sartfla
@Sartfla 6 ай бұрын
This is actually almost exactly what I wanted.
@MrBroady02
@MrBroady02 20 күн бұрын
Custom HEX bitmap format where every byte takes two bytes to store as Hex in ASCII.
@Elitsa_27
@Elitsa_27 6 ай бұрын
this is genius , evil , but genius , you can troll your friends to think the got a virus with one image☠
@ygypt
@ygypt 7 ай бұрын
rgba and hex are not mutually exlusive. rgba means ur storing red green blue alpha, and hex just means ur encoding as base 16 instead of base 10. what you did was turn rgba into rgb, because you remove the 7th and 8th hex characters that represent the alpha
@snowbelldog
@snowbelldog 4 ай бұрын
In addition, its format will be significantly larger, since rgba only requires 4 bytes (32 bits)... hex requires 2 bytes per color, which for rgb results in 6 bytes instead of 4 bytes, even without a alpha channel. With the hashtag it's even 7 bytes. I haven't looked any further, but he has no idea what he's doing 😅
@nbvehbectw5640
@nbvehbectw5640 7 ай бұрын
When you talked about storing RGBA in characters and not bytes, I was like.... bruh.
@RealUniCat
@RealUniCat 8 ай бұрын
that's EXACTLY what i wanted to do, except in javascript but i gave up because it's too hard and i wanted to do this in the current year 2024
@stgigamovement
@stgigamovement 7 ай бұрын
BWTC32Key is a homemade file compression program with custom format written in Javascript.
@RealUniCat
@RealUniCat 7 ай бұрын
@polonezzz stalker go away
@RealUniCat
@RealUniCat 7 ай бұрын
@polonezzz I know
@fahrulrputra2589
@fahrulrputra2589 6 ай бұрын
Ah yes, smartest rust programmer
@MePeterNicholls
@MePeterNicholls 7 ай бұрын
“I’m not an expert…” but does this
@GdCami
@GdCami 12 күн бұрын
3:34 Bro just displayed my time (11:34pm for me at the time of writing)
@redstonewizard08
@redstonewizard08 7 ай бұрын
RGBA is smaller, it's 4 `u8`s, and hex would be 6 `char`s (which I think are just `u32`s).
@lancemarchetti8673
@lancemarchetti8673 Жыл бұрын
Nice work!
@rubenvandeven01
@rubenvandeven01 2 ай бұрын
Yes finally, i always hated those optimised efficient image file formats. Finally some file format of which i can probably store 1 or 2 files on my small capacity webserver. :)
@kibbewater
@kibbewater 6 ай бұрын
Every channel in RGBA are only a byte long. You could fit an entire pixel in the space required for an int. Using string for for the color will double the size for each pixel
@deva-1711
@deva-1711 7 ай бұрын
I think the issue with the tremendously high file sizes maybe because you are storing the ascii representation of the hex codes where in fact you can store hex codes as raw binary in the .Brun file
@LambOfDemyelination
@LambOfDemyelination 7 ай бұрын
why store the hex as a literal string, a byte can be represented in one character (byte), instead you use two bytes to represent one byte??
@Fifasher2K
@Fifasher2K 4 ай бұрын
E in bruh is for efficiency.
@Internat-doener-federation
@Internat-doener-federation 4 ай бұрын
0:25 that's wrong, jpg cam be transparent, but that's pretty uncommon.
@BruhDOTcam
@BruhDOTcam 4 ай бұрын
Interesting image file format.
@bits360wastaken
@bits360wastaken 7 ай бұрын
1:20, Congratz, you made A: An incorrect statement, and B: 50% larger .bmp instead of literally just bmp because you dont know what binary is.
@adrack
@adrack 7 ай бұрын
Now change the exe file format to bruhh. eg. what.bruh Instead of .exe ,you will use . bruh
@AlanBurr25
@AlanBurr25 7 ай бұрын
bro reinvented the bitmap image lmao
@Amogus-i9t
@Amogus-i9t 4 ай бұрын
.bruh
@SKIENCE-X9PAT
@SKIENCE-X9PAT 7 ай бұрын
the disguised file formats are relatable
@maddsua
@maddsua 6 ай бұрын
bro reinvented bmp but with extra steps
@HighFidelityFox
@HighFidelityFox 6 ай бұрын
this is literally the XKCD comic about standards 😂
@HGStyleOfficiel
@HGStyleOfficiel 4 ай бұрын
you didnt even bothered trying to compress it using lzma... i love that file format xddd
@JDoawp
@JDoawp 7 ай бұрын
Sooo, a ppm file but with hex instead of RGB? :p
@angelocore
@angelocore Жыл бұрын
Yo you can try to convert the hex back to binary instead writing it as text, it will make the file size less for sure
@okunamayanad
@okunamayanad 3 ай бұрын
2:28 98% more means like around 1.8~1.9x 98x the size means 9700% more so there is a huge difference in what you say and what it says on the screen.
@guppy13
@guppy13 7 ай бұрын
this certainly is a bruh moment
@slavatar1337
@slavatar1337 6 ай бұрын
blazingly fast file format
@insane.braindamage
@insane.braindamage 7 ай бұрын
i think the worst time of image file formats when you try to save them is "webm" or "webp"
@semion-druzh
@semion-druzh 7 ай бұрын
Dude, you made the file in text format but didn't take advantage of its biggest advantage! It was necessary to encode colors with their names, for example: blue, darker_blue_than_the first, red, crucian_but_34_tones_more_saturated
@MaurOwO
@MaurOwO 7 ай бұрын
imagine hiding images in the bruh format is s very goood idea
@codeman99-dev
@codeman99-dev Жыл бұрын
2:32 That's not a percentage buddy. "100% more" means to double. Starting at 3mb and then adding 100% more would be 3mb + 3mb.
@fiddleabout
@fiddleabout 7 ай бұрын
"buddy 🤓☝️"
@SuperCheppy64
@SuperCheppy64 2 ай бұрын
2:01 i screamed because you forgot a spot ☹️
@miwubunz
@miwubunz Жыл бұрын
damn
@LuizDahoraavida
@LuizDahoraavida 2 ай бұрын
man not ironically writing hex as ascii text to a file
@AlbySilly
@AlbySilly 7 ай бұрын
3:47 My guess is that the rendering engine uses floating point numbers between 0-1 to display the graphics while the way the file is saved gives an integer of 0-255, try dividing the color value by 255
@manshenriksson
@manshenriksson 7 ай бұрын
Yeah 1/256 ~= 0.004 lol
I'm a Mess, so I'm Making My Own File Organizer [TagStudio]
23:32
Trying "Free Photoshop" - Photopea
15:21
Bog
Рет қаралды 643 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
What is the Smallest Possible .EXE?
17:04
Inkbox
Рет қаралды 616 М.
I made my own Web
15:43
FaceDev
Рет қаралды 675 М.
The Art of Linux CLIs
8:35
Mults
Рет қаралды 523 М.
AI Learns to Play SUIKA GAME
13:46
Code Bullet
Рет қаралды 4,1 МЛН
I made my own Text Editor (in Rust)
8:16
FaceDev
Рет қаралды 146 М.
more OG traps vs new gen players
19:33
JudeLow
Рет қаралды 939 М.
I Made a Graph of Wikipedia... This Is What I Found
19:44
adumb
Рет қаралды 3,2 МЛН
How to think like A GENIUS Programmer
6:29
Lattice
Рет қаралды 379 М.
I built my own Browser
10:52
FaceDev
Рет қаралды 669 М.
I made an entire OS that only runs Tetris
22:37
jdh
Рет қаралды 1,7 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН