I made my own Image File Format

  Рет қаралды 235,015

FaceDev

FaceDev

Жыл бұрын

Image File Formats are... images.
GitHub: github.com/face-hh/bruh
Patreon: / facedevstuff
Discord server: / discord
Twitter: / facedevstuff
MUSIC:
Background song - • Jeremy Blake - Powerup...
Outro song - • 9 • Nine Nights • Day ...
Thumbnail art by @JersonEXE
- Twitter: / jersonbrawlstar
Thanks for watching!

Пікірлер: 484
@FlushDesert22
@FlushDesert22
"I'm tired of these stupid image file formats, so I'm contributing to the problem"
@kousheralam
@kousheralam Жыл бұрын
wow, coverting a binary -> string -> do string manipulation -> show from the string. What's inside your head bro, it's pure genius
@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.
@lizkeres2593
@lizkeres2593
The major difference between jpeg and PNG is not only transparency but also the compression
@jaszko2880
@jaszko2880
web✅code editor✅programing lang✅text editor✅image file format✅operating system❌
@LambOfDemyelination
@LambOfDemyelination 21 күн бұрын
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??
@artiitheworld
@artiitheworld 28 күн бұрын
why is this video interlaced
@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.
@Aidan6475
@Aidan6475
why this video is 1080i?
@Persvicx
@Persvicx 28 күн бұрын
Why is your video interlaced
@y32code16
@y32code16
2:27
@alastor--radiodemon7556
@alastor--radiodemon7556
bro made a .bmp
@Brothaeuuuww
@Brothaeuuuww
Now make a .huh file that is an audio format
@dvidpi
@dvidpi
wowzers, im converting all images in my gallery to .bruh files! so efficient, fast and lightweight
@YoutubePizzer
@YoutubePizzer 28 күн бұрын
avif is actually conceptually really cool:
@marcels.7074
@marcels.7074 Жыл бұрын
i wanted to make a JSON image format
@devaramed
@devaramed
So this is what it feels like to be the guy who made the .webp file format
@o_q
@o_q
the interlacing on this video is making me crazy
@realrunnow
@realrunnow
1:21
@FaZekiller-qe3uf
@FaZekiller-qe3uf
"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.
I Made an AI with just Redstone!
17:23
mattbatwings
Рет қаралды 860 М.
What is the Smallest Possible .EXE?
17:57
Inkbox
Рет қаралды 336 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 27 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 28 МЛН
Finger Heart - Fancy Refill (Inside Out Animation)
00:30
FASH
Рет қаралды 29 МЛН
Are You Using the WRONG Image Format?
16:20
ThioJoe
Рет қаралды 762 М.
I made my own Web
15:43
FaceDev
Рет қаралды 476 М.
I had to master C++ in 3 months. This is what I learned
4:02
The Little Tech Turtle
Рет қаралды 6 М.
How Hackers Bypass Kernel Anti Cheat
19:38
Ryscu
Рет қаралды 613 М.
I Used Code to Go Viral on Social Media
8:54
Green Code
Рет қаралды 187 М.
that's a red flag? but I do that.... [cc]
19:06
TheraminTrees
Рет қаралды 163 М.
I Hacked a Discord Bot, the Owner said this...
9:09
No Text To Speech
Рет қаралды 1,2 МЛН
How Do Hackers Crack ANY Software
5:54
CyberFlow
Рет қаралды 224 М.
The Art of Linux CLIs
8:35
Mults
Рет қаралды 146 М.
MrBeast Just Destroyed His Career..
22:02
MorePegasus
Рет қаралды 6 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН