Image encoding

Will JPEG ever be succeeded as the default lossy image encoding standard on the Internets?
Shit's getting old and is only surviving due to the (((industry))) failing to adopt any superior standards widely enough no matter how good they are.
Does AVIF have any chance of breaking that deadlock or is it fugd too?

Attached: Sinclair_Information_Brokerage.png (2500x2220, 3.53M)

Nothing is objectively better to the degree that makes jpeg worth replacing.

As long as it works and is supported it will be used. You don't fix something that isn't broken.

hide an image

How can I encode an image into another image?

these guys are experts at that kind of thing >>>/g/

A quick search showed me that even though AVIF is in fact able to produce images of higher quality while needing less storage space (not accounting for metadata, only the size of the image), it requires about 10 to 15 fold the processing time to decode. How significant is theis difference? Browsers are already bloated and slow as hell and requiring more time to load images may not be worth the saved bandwith.

Not until you can safely use a better format in all the browsers in use that support JPEG. There are better choices, but as a web dev, what do you do? Do you support a newer image format and have broken images all over the place for some people too stupid to update? Make some sort of fallback where if the browser doesn't recognize the new format, it gets a JPEG? Then you have another connection and more requests, making the page load longer.

It's a matter of market share, and people will use a shitty version of something if it's well supported, instead of a superior version that's not well supported.

You can hide a CP image into another image and distribute it to people concealing the fact that it contains a CP image, ha ha.

Send the image to somebody and call 911. FBI will raid her house.

browsers arent the only thing that use jpg. its also used on many old simple devices that wont ever get updates that would add support for anything else. also most cameras/phones take jpg pictures by default(not talking about your $10000 special cameras that normal people dont even have) and have no way to change to another format so that wont help with the change.

The only way I can ever see Jpeg being "replaced" is by Jewgle&frens shoving AVIF down the users' throat.
It might see some degree of wider adoption if Jewdroid 9 adopts it as the forced default image format for onboard photography and Jewsweek/Salon/Washington Post/CNN/Hareetz/Computer Bild/Moronix/Newsplus start to simultaneously shit out articles with high res AVIF images and ant res Jpeg fallbacks while informing the users how they should upgrade their webbrowsers for next-gen 4K HDR image support, otherwise AVIF won't go much further than becoming the Android analog of HEIC.

Attached: loli_rape_720p.webm (480x360, 2.09M)

I think it's seeing its last years. The successor will be either HEIF, AVIF or JPEG XL.

Better question: When are people going to ever stop using bitmaps for everything? Will a vector format with some serious backing as a GIF/PNG replacement better than the bloated XML trash that is SVG ever come along? Will the fansub/scanlation weeb community ever cobble together some combination of a vector format and automatic tracing software using UHD BD 4K raws to make incredibly tiny, yet flawless, releases?

>JPEG isn't that bad

Attached: 672-svg-basics-vector.png (339x267, 9.83K)

If JPEG XL beats AVIF and is royalty-free, I'd prefer JPEG XL to make it since AV1s primary goal is video encoding where interframe compression is more important.

I share your wish.
Now that's some utopia thinking. Anime is full of textures. Reproducing all those tiny 2x3 pixel shapes would take more file size than raster graphics and it's totally impossible to trace all those subpixel things. Remember Flash? It was pretty limited in what you could do. A mixed approach might work but the animation would have to be released in your mixed raster vector anime dream format.
It's more likely those vector things will get added to raster formats than the raster features to vector formats.
Pure vector graphics will mostly stay an icon or image thing. Not video. That already died long ago with Flash (which also had raster features; all content apart from basic shapes was raster graphics, so even through it was a vector format, it's contents aged badly see vid and because Flash is such a piece of shit gradients don't look that good either).

Attached: Trouble Windows (HD, subtitles).webm (960x720, 14.3M)

I for one would appreciate some kind of real-time 3DCG rendering "codec", but with certain effects mostly reflections hardcoded in the video file and passed through a standardized texture mapping "decoder" so the user's GPU doesn't melt itself.
In order to avoid bloat the input's camera perspective would be raytraced during encoding with the encoder only storing visible textures+model data in the video file, with variable levels of compression.
The decoder/encoder could also automatically truncate non-discernible triangles+texture detail at smaller playback resolutions/lower encoding "bitrates".
Is this doable with CY+4 tech and if so would it be excessively bloated?

Attached: To_i_hola.webm (1280x720, 15.99M)

That vidrel.
Tfw a Polish museum makes Hatsune Miku sing a Polish folk song.

im sure that google and everything owned by facebook and similar will change when its possible. then they can put that storage and bandwidth money to profits instead

One of Miku's most popular songs is a Finnish folk song.

Aside from the typical "Bézier curves and fills" vector geometry, there are other more exotic types, such as the shader-like skeletal strokes, warping, and dynamic filters, introduced in vector software like Expression and Xara.

Even in the case of Flash, the problem with the animation you posted isn't Flash, but the fact that it's "limited animation", e.g.: Rigid paper dolls, panning/scaling objects, simple 4-point stretching, lazy tweening. It's perfectly possible to do "full animation" in Flash, complete with rich shading through careful use of gradients and transparencies, vid related.

That would be ideal (especially since most anime is already done using vectors after the inking phase, so colorists can do their job easier), but hardly necessary. An approach already common in OCR and tracing software is to "punch out" sharp objects such as lineart and text for vectorization, leaving softer backgrounds to be bitmap compressed more aggressively. Combined with interframe motion detection already used in modern video codecs and framedoubler software like SVP, this would allow some measure of tweening to be reintroduced as well, further increasing both efficiency and quality.

Attached: Waterlollies.webm (922x716, 8.07M)

Browsers don't take that much CPU resources. And even if the browser is pooly threaded (they all are), threading the decoding of an inline image is trivial. Any impact may be unnoticeable simply because unused resources are now being used.

Attached: d27bc7f294c1b630c7ba74c1f9cfb1794d94faa1cb1ccef15dc179802fc1850b.png (444x506, 221.36K)

You can, it's called steganography.
Many programs that do this

PNG is superior already

SVG can already be compressed reasonably well with EXI. What's missing is software support.

FLIF anyone?

and that SVG is a huge security risk.

HEIF format sucks. In fact all media containers and are awfull, you need like 100K LOC just to parse the file.

It's undeniably better than PDF and PostScript which had a code execution vuln with all applications using ghostscript last year.
It's not a script, so it's a lot better and safer even through it's fucking xml garbage and inefficient.

Never claimed otherwise. I only open those formats in Tails. This might be an extreme countermeasure, but then again better to be safe than sorry.

Compared to PDF and PostScript, yes. But not good or safe enough compared to HTML or plain text.

And I only open those formats in chromium based browser because those have sandboxing for pdfs.
However you can't save vector graphics in those "formats". And Firefox being a clusterfuck isn't an argument against svg.
My bigger problem is that it's based on eternal nesting of tags and XML which is fucking gay, slow and stupid.

So you're saying that unaccountable non-free Javascript programs are a security risk. How about disabling Javascript for non-free programs and this won't be a problem.

HAPAS ARE SUPERIOR TO WHITES

The first point that you need to note is that Whites were historically a great civilization. I don't deny that, after all, they controlled over 3/4 of the world at some point.
The second point that you need to note is that Asians are autistic bug-people with no empathy. No empathy = less societal progress since they let people die randomly despite their worth to society.
The third point that you need to acknowledge is that white people have lost any and all traits which made them a powerful and superior race. You NEET-Sock larpers take achievements from the last great men in NS Germany and attempt to make them your own. You haven't done shit. White people are 100% jew controlled, and this isn't because the jew is particularly powerful. This is because white people are emotionally weak. Why? Whites have been undergoing severe devolution over the past 100 years. The two jew-induced world wars killed off entire generations of strong, brave white men, and this has KILLED THE WHITE RACE. You pathetic Nig-Sock larpers need to understand this. There's no coming back from this.
White people are weak and pathetic. They have lost 100% of what made them great through a jewish dysgenics program, and while this is unfortunate, it is also irreversible. So forget about it.
Hapas, more specifically White/Asian hapas, are the new ubermensch, so to speak. We are superior to both whites and asians since the properties of both races are polar opposites, yet meet in the middle to form an optimal combination. Whites are too cucked and have too much empathy, so much so that they feel excessive empathy to subhuman races like niggers, jews and arabs.
On the opposite side of the scale, asians have too little empathy, being perfectly content to watch their fellow countrymen run over by trucks, poisoned by fake food products, gassed by the very air in their cities, and executed by their own government for petty reasons.
These two qualities are, as I mentioned, polar opposites, and neither are beneficial to the well-being of society. Hapas possess something in the middle of these polar opposites. We are much more racist than white people. And at the same time, we have empathy towards each other. Our women are far less slutty than white roasties, contrary to /poo/ disinformation - white men prefer white or asian women, not hapas. I know this not only due to theoretical knowledge but due to actual life experience talking to others of my own kind. We only require the tiniest push to fully support anti-nigger, anti-shitskin and anti-kike ideology, whereas whites never go all the way. Whites can only become magakikes, or anti-illegal-immigrants at the ABSOLUTE best.
Hapas are small in number at the moment but with further degeneration of the white race, racemixing between whites and asians will become more frequent. Hapas will rise from the ashes of the white race and inherit the world.
It is often stated by Nig-Socks that racemixing is evil and bad because "the product of racemixing contains neither of the desirable qualities of the two parent races". This may be true under ideal conditions, but Whites and Asians don't have any desirable qualities by themselves. The races have been degenerated by decades of communist (i.e. jewish) dysgenics (in the case of asians) or decades of war-induced jewish dysgenics (in the case of whites). As such, the ordinary Zig Forums theory no longer applies. Neither of the parent races, whites or asians, actually are suited to their environment. They also happen to have polar opposite qualities, which conflict with the goal of societal stability. This is why hapas are not inferior, but superior to both races.
Note that what I said only applies to White/Asian hapas. Any mixtures containing shitskin or nigger genetics is just as bad as the shitskin or nigger genetics would be by themselves, since shitskins and niggers were never a part of great civilization.

shut up and use png like any sane person

Attached: Sinclair_Information_Brokerage.png (2500x2220, 3.01M)

Never, because bitmaps map well to the real world (pixels on a screen).
No, because expressing a generic image as vectors is a terrible idea.
Vector graphics are great in some cases, most notably when dealing with text and geometric shapes, but absolutely terrible outside of that, because they do not map to reality in a meaningful way.


t. LARPer.
CPU time on js processing is the biggest performance bottleneck in browsers at the moment, performance after the page is loaded means jack shit if you froze the user's PC for multiple seconds right before.

Actually the SVGs are dangerous themselves, though not as dangerous as JS. The Qt framework also had a vulnerability when parsing svg aswell.

JS is used when abusing such vulnerabilities to see if the potential victim is vulnerable to whatever attack will be contained in the payload.

Are you talking about the fact you can embed JS into SVG or something else? Because if the latter, then PNG pics are an attack vector too LOL.

svg allows actual remote code execution sometimes. i dont remember javascript ever doing that.

pngquant is also a very nice tool to lossy compress PNGs

:DDDDDDDD

There has not been a single day since the invention of JS in which remote code execution wasn't possible through some vulnerability.
Which is why you use NoScript.

vector graphics aren't good for everything. look at any modern cartoon and look how shit and boilerplate it looks. vector is terrible for art. We should be able to find a sufficient pixel density for all humans and produce all content for that size.

what fucking planet are you on? PDF has RCE vulns every day. so does SVG and its only application (web browser)

it's fucking shit

no that's fucking not why you use noscript. you use javascript.enabled;0

This entire thread is autistic.


PNG has been better than JPEG in every way for a decade, and every major browser supports APNG, so there's no reason not to replace GIFs with it, too.
Only reason it hasn't been adopted has been because most programs by default output JPEGs for legacy reasons, and most people are too stupid to know the difference and change the default.
Even copies of Photoshop from within the last decade still use JPEG as default, even though the program can export to basically any format. And it only utilizes full PNG compression in the "Save for Web", even though realistically there's no reason not to use PNG for everything.


SVG is great and people designing logos and website assets should be using it.
But it also has some severe limitations, and can't really be used for photographs.
JPEGs are awful where you need fine features, like pictures of people, but work "fine" for landscapes where it all turns to a colored mush anyways.
Vector graphics are great for large flat shapes, but bitmaps are necessary for anything more detailed.

Attached: 1cab05e917032d6ce350fabd3405fb6255cc79b711247d42629f0a1c03a18db5.png (640x546, 39.56K)

Never said otherwise, but the amount of things vector is suitable for, that are instead done using some bitmap format, is enormous.
PNG, like GIF, is wholly unsuited to photorealistic content. It's a format that largely shouldn't exist, since anything PNG can compress, should be vector in the first place.

Vector is not really all that suited for every kind of digital art. You simply can't vectorize efficiently many kinds of pixel art. Good for some, not others.

Not in every way. There are tons of cases where JPEG gets significantly smaller filesize with only minimal loss in quality. PNG is only really suited to images that have flat areas of constant color.

Save with higher quality settings. This jpg is saved at 100% quality and presents no visible difference despite being significantly smaller.

Attached: family.png (2122x1415 3.65 MB, 2M)

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

HAPAS ARE SUPERIOR TO WHITES

Schizophrenia is one hell of a drug.

Oof, the racism in this thread!

Lots of shills in this thread.

I wonder (((why))).

I love eating kebabs. Why do you guys want to kill the Muslims?