Skip to content

PNG has been updated for the first time in 22 years — new spec supports HDR and animation

Technology
85 55 0
  • I still miss using my iPAQ h4350. It still works; might be time to fire up Doom4CE...

    I have a Dell Axim X50v in a box somewhere. I imagine the battery is toast and I'll probably have to keep it in its cradle to remain powered. It was a hell of a machine for it's day.

    I went through a succession Windows CE/PocketPC machines back in the day, starting with a Casio Cassiopeia E-115, then an Audiovox Maestro which was a rebadged Toshiba, then an HP iPAQ 2215, and finally the Axim.

    The displays on the Maestro and the Axim were really something, and I wish someone would bring these back for a modern smartphone. They were rotten at color accuracy, but both had transflective displays that were fully readable even in direct sunlight. The Axim X50v also had a full 480x640 screen resolution which blew the first few iPhones out of the water on pixel density and even gave the iPhone 4 a run for its money. "Retina" display, my ass.

    I had a Microdrive bunged into the CompactFlash slot on my Axim which was... several gigabytes, I don't remember how many. I kept it packed with MP3's, and I had a custom wallpaper with a white-on-chartreuse silhouette of a pacifier on it with the legend, "All 10,000 Songs On Your iPod Suck."

    But then the entire PDA market got swallowed in one gulp by smartphones.

  • This post did not contain any content.

    Animated PNG has been trying to be an extension to the PNG spec for 20+ years.

  • But is it backwards compatible with an old version that can't be updated?

    Speaking for animation, your browser probably already supports APNG. APNG is 21 years old and has decent adoption. But it’s officially part of the club.

    That said, APNGs are fat as fuck and they’re a pretty old solution to animated graphics with an alpha channel. Don’t expect to see everyone making APNGs all of the sudden. There is a reason why people have kept it at a distance.

  • As you can see it's irrelevant apparently. If it's AI generated it will be downvoted.

    It's not irrelevant, it's that you don't actually know if it's true or not, so it's not a valuable contribution.

    If you started your comment by saying "This is something I completely made up and may or may not be correct" and then posted the same thing, you should expect the same result.

  • But is it backwards compatible with an old version that can't be updated?

    The PNG format is made of chunks that have determined roles, and provides provisions for newer "standardized" chunks alongside the custom chunks it had supported until now. It is likely that PNG made with newer software that does not use new features, or uses only additional features, will remain readable by older software to some extent.

  • I see, but the animation feature cant be compatiable no?

    Likely, you'll see the first frame only on older software. Encoding animation in a dedicated animation chunk and using the base spec for the first keyframe sounds like the sane thing to do, so they likely did that.

    I'm not going to look into it now, because I would then have to implement it. 😄

  • I mean, on a Linux system that's not riddled with flatpak / snap / ... You'd basically only need to update libpng and you'd be good.

    Yes. But if you live in the future, you have to wait for dozens of dozens of intermediate to do so! Great!

  • I miss the days when all the cool websites used Flash. I think Macromedia killed it for some reason. Probably because it had security flaws, back then it was pretty bandwidth-intensive too, but it made for some dynamic web designs.

    Flash was a security nightmare all round, not counting the security flaws. It was just designed without any security features. It was also terribly inefficient at its core job, that was supposedly vector animation. It filled a gap in a time where browser and standards where not that advanced.

    Over time, Flash issues where never resolved, but the bloatness of the software kept increasing. Along the way, HTML got better specs, JavaScript got vast improvement, especially in everyone adhering to roughly the same standard (thanks microsoft for finally caving in…), and so the flash interpreter was highly redundant with the browser itself.

    For a while flash editors could export in HTML5 and you'd get roughly the same result, but with a fraction of the resources requirements, so naturally there was little incentive to keep the flash player around.

    I'm not sure if "killing flash" could be attributed to their author, or to the loss of interest.

    Also note that alternative flash players exists to still play older swf files, and some sites uses them alongside with plain video conversion for flash animations that weren't dynamic.

  • But is it backwards compatible with an old version that can't be updated?

    I'll tell you if I can find some new files for testing.

    Even JPEG isn't always back compatible either. I loaded an image into my software which uses some ancient library internally, and it swapped the blue and red channels.

  • This post did not contain any content.

    Now if anyone don't mind explaining, PNG vs JXL?

  • This post did not contain any content.

    Jxl train choo choo

  • It's not irrelevant, it's that you don't actually know if it's true or not, so it's not a valuable contribution.

    If you started your comment by saying "This is something I completely made up and may or may not be correct" and then posted the same thing, you should expect the same result.

    I did check some of the references.

    What I dont understand is why you would perceive this content as more trustworthy if I didn't say it's AI.

    Nobody should trust blindly some anonymous comment on a forum. I have to check what the AI blurbs out but you can just gobble the comment of some stranger without exercising yourself some critical thinking?

    As long as I'm transparent on the source and especially since I did check some of it to be sure it's not some kind of hallucination...

    There shouldn't be any difference of trust between some random comment on a social network and what some AI model thinks on a subject.

    Also it's not like this is some important topic with societal implications. It's just a technical question that I had (and still doesn't) that doesn't mandate researching. None of my work depends on that lib. So before my comment there was no information on compatibility. Now there is but you have to look at it critically and decide if you want to verify or trust it.

    That's why I regret this kind of stubborn downvoting where people just assume the worse instead of checking the actual data.

    Sometime I really wonder if I'm the only one supposed to check my data? Aren't everybody here capable of verifying the AI output if they think it's worth the time and effort?

    Basically, downvoting here is choosing "no information" rather than "information I have to verify because it's AI generated".

    Edit: Also I could have just summarized the AI output myself and not mention AI. What then? Would you have checked the accuracy of that data? Critical thinking is not something you use "sometimes" or just "on some comments".

  • Likely, you'll see the first frame only on older software. Encoding animation in a dedicated animation chunk and using the base spec for the first keyframe sounds like the sane thing to do, so they likely did that.

    I'm not going to look into it now, because I would then have to implement it. 😄

    Haha dont worry, just curious. Your answer is good!

  • I did check some of the references.

    What I dont understand is why you would perceive this content as more trustworthy if I didn't say it's AI.

    Nobody should trust blindly some anonymous comment on a forum. I have to check what the AI blurbs out but you can just gobble the comment of some stranger without exercising yourself some critical thinking?

    As long as I'm transparent on the source and especially since I did check some of it to be sure it's not some kind of hallucination...

    There shouldn't be any difference of trust between some random comment on a social network and what some AI model thinks on a subject.

    Also it's not like this is some important topic with societal implications. It's just a technical question that I had (and still doesn't) that doesn't mandate researching. None of my work depends on that lib. So before my comment there was no information on compatibility. Now there is but you have to look at it critically and decide if you want to verify or trust it.

    That's why I regret this kind of stubborn downvoting where people just assume the worse instead of checking the actual data.

    Sometime I really wonder if I'm the only one supposed to check my data? Aren't everybody here capable of verifying the AI output if they think it's worth the time and effort?

    Basically, downvoting here is choosing "no information" rather than "information I have to verify because it's AI generated".

    Edit: Also I could have just summarized the AI output myself and not mention AI. What then? Would you have checked the accuracy of that data? Critical thinking is not something you use "sometimes" or just "on some comments".

    You realize that if we wanted to see an AI LLM response, we'd ask an AI LLM ourselves.
    What you're doing is akin to :

    Hey guys, I've asked google if the new png is backward compatible, and here are the first links it gave me, hope this helps : [list 200 links]

  • Now if anyone don't mind explaining, PNG vs JXL?

    JXL is badly supported but it does offer lossless encoding in a more flexible and much more efficient way than png does

    Basically jxl could theoretically replace png, jpg, and also exr.

  • I don't know. If the poster couldn't be bothered to fact-check, why would I? It is just safer to assume that it can be misinformation.

    If you prefer to know nothing about PNG compatibility rather than something that might be true about PNG. That's fine but definitely not my approach.

    Also, as I said to another commenter. Critical thinking is not some tool you decide to use on some comments and not others. An AI answer on some topics is actually more likely to be correct than an answer by a human being. And it's not some stuff I was told by an AI guru it's what researchers are evaluating in many universities. Ask an human to complete various tasks and then ask the AI model and compare scientifically the data. And it turns out there is task where the AI outperforms the human pretty much all the time.

    YET on this particular task the assumption is that it's bullshit and it's just downvoted. Now I would have posted the same data myself and for some reason I would not see a single downvote. The same data represented differently completely change the likelihood of it being accurate. Even though at the end of the day you shouldn't trust blindly neither a comment from an human or an AI output.

    Honestly, I'm saddened to see people already rejecting completely the technology instead of trying to understand what it's good at and what it's bad at and most importantly experiencing it themselves.

    I wanted to know what was generative AI worth so I read about it and tried it locally with open source software. Now I know how to spot images that are AI generated, I know what's difficult for this tech and what is not. I think that's a much healthier attitude than blindly rejecting any and all AI outputs.

  • Ooh, that was the coaster company, I remember them.

  • That depends. Something like HDR should be able to fall back to non-HDR since it largely just adds data, so if the format specifies that extra information is ignored, there's a chance it works fine.

    I'm not sure you can turn an hdr image into a regular one just by snipping it down to 8 bits per channel and discarding the rest.

    I mean it would work but I'm not certain you'll get the best results.

  • JXL is badly supported but it does offer lossless encoding in a more flexible and much more efficient way than png does

    Basically jxl could theoretically replace png, jpg, and also exr.

    Interestingly, I downloaded GNOME's pride month wallpaper to see what it looked like, and the files were JXL. Never seen them in the wild before that

  • I'm not sure you can turn an hdr image into a regular one just by snipping it down to 8 bits per channel and discarding the rest.

    I mean it would work but I'm not certain you'll get the best results.

    it would work

    And that's probably enough. I don't know enough about HDR to know if it would look anything like the artist imagined, but as long as it's close enough, it's fine if it's not optimal. Having things completely break is far less than ideal.

  • 66 Stimmen
    9 Beiträge
    8 Aufrufe
    django@discuss.tchncs.deD
    All the tasks could have been easily solved with some basic APIs and algorithms.
  • 208 Stimmen
    63 Beiträge
    20 Aufrufe
    F
    They're coming for our VPNs soon enough, be sure of that. Here in Australia they've already flagged wanting to ban them.
  • 424 Stimmen
    80 Beiträge
    50 Aufrufe
    S
    It really depends on the company. Some look for any way to squeeze you. Others are pretty decent and probably more efficient as they dont waste as many working hours on bullshit claims and claim resolution. Also if i rent a car i want things to go smoothly. I got places to be. You make my life easy, ill happily pay again and do my best to make yours easy too.
  • 212 Stimmen
    12 Beiträge
    18 Aufrufe
    erev@lemmy.worldE
    meanwhile i set a wait and save so i have time to finish getting ready and uber tells me it's already arrived.
  • Texting myself the weather every day

    Technology technology
    4
    15 Stimmen
    4 Beiträge
    15 Aufrufe
    G
    Even being too lazy to open the weather app, there are so many better and free ways of receiving a message on your phone. This is profoundly stupid.
  • Tide42 – A Fast, Minimalist CLI IDE for Terminal-Centric Devs

    Technology technology
    6
    2
    96 Stimmen
    6 Beiträge
    19 Aufrufe
    anzo@programming.devA
    Emacs has panes. Is this supposed to imitate a fraction of the holy power?
  • AI cheating surge pushes schools into chaos

    Technology technology
    25
    45 Stimmen
    25 Beiträge
    37 Aufrufe
    C
    Sorry for the late reply, I had to sit and think on this one for a little bit. I think there are would be a few things going on when it comes to designing a course to teach critical thinking, nuances, and originality; and they each have their own requirements. For critical thinking: The main goal is to provide students with a toolbelt for solving various problems. Then instilling the habit of always asking "does this match the expected outcome? What was I expecting?". So usually courses will be setup so students learn about a tool, practice using the tool, then have a culminating assignment on using all the tools. Ideally, the problems students face at the end require multiple tools to solve. Nuance mainly naturally comes with exposure to the material from a professional - The way a mechanical engineer may describe building a desk will probably differ greatly compared to a fantasy author. You can also explain definitions and industry standards; but thats really dry. So I try to teach nuances via definitions by mixing in the weird nuances as much as possible with jokes. Then for originality; I've realized I dont actually look for an original idea; but something creative. In a classroom setting, you're usually learning new things about a subject so a student's knowledge of that space is usually very limited. Thus, an idea that they've never heard about may be original to them, but common for an industry expert. For teaching originality creativity, I usually provide time to be creative & think, and provide open ended questions as prompts to explore ideas. My courses that require originality usually have it as a part of the culminating assignment at the end where they can apply their knowledge. I'll also add in time where students can come to me with preliminary ideas and I can provide feedback on whether or not it passes the creative threshold. Not all ideas are original, but I sometimes give a bit of slack if its creative enough. The amount of course overhauling to get around AI really depends on the material being taught. For example, in programming - you teach critical thinking by always testing your code, even with parameters that don't make sense. For example: Try to add 123 + "skibbidy", and see what the program does.
  • Apple Reportedly Weighs iPhone Price Increase

    Technology technology
    3
    1
    21 Stimmen
    3 Beiträge
    11 Aufrufe
    S
    Anytime I consider making the jump, I make my peace with everything and then the price hits...no way