To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Balancing "moving the web forward" and "compatibility risk"I
Blink's willingness to accept a change is largely determined by the change's location on the chart above:
If a change has low compatibility risk and significantly moves the web forward, Blink usually welcomes it (e.g., shipping unprefixed CSS Transforms).
If a change has low compatibility risk but isn't expected to significantly move the web forward, Blink usually still welcomes it. Occasionally, Blink will reject changes in this bucket to avoid technical complexity (e.g., not shipping our old implementation of CSS Variables).
If a change has high compatibility risk and isn't expected to significantly move the web forward, Blink will usually not welcome it (e.g., not shipping canvas supportsContext).
If a change has high compatibility risk but is expected to significantly move the web forward, Blink will sometimes welcome it after careful, publicly-explained consideration (e.g. shipping Shadow DOM).
If a change has low compatibility risk but isn't expected to significantly move the web forward, Blink usually still welcomes it. Occasionally, Blink will reject changes in this bucket to avoid technical complexity
So you're saying it's most likely a second of the four cases? This one:I still think that having Chrome/Opera/Firefox/Safari agree on one format (leaving only IE/Edge out) would be a significant step forward for the users.If a change has low compatibility risk but isn't expected to significantly move the web forward, Blink usually still welcomes it. Occasionally, Blink will reject changes in this bucket to avoid technical complexity
But that means "Blink usually still welcomes it" unless it's too complex.
So you're saying it's most likely a second of the four cases? This one:I still think that having Chrome/Opera/Firefox/Safari agree on one format (leaving only IE/Edge out) would be a significant step forward for the users.If a change has low compatibility risk but isn't expected to significantly move the web forward, Blink usually still welcomes it. Occasionally, Blink will reject changes in this bucket to avoid technical complexity
But that means "Blink usually still welcomes it" unless it's too complex.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
As I understand it, Mozilla is implementing WebP support.
I don't make the final call here, but I'll reiterate the concerns I think have been expressed before:* With animated WebP, it seems like Chromium supports a format that's basically a superset of the capabilities of APNG already, for authors willing to encode for formats not supported by all browsers
* For other authors, APNG doesn't help unless IE/Edge are going to support
* There seems to be comparatively little web author interest in APNG (even taking into account its limited cross-browser support in the past), so relatively little upside to this
* The additional implementation in the PNG image decoder source is reasonably complex
I don't make the final call here, but I'll reiterate the concerns I think have been expressed before:* With animated WebP, it seems like Chromium supports a format that's basically a superset of the capabilities of APNG already, for authors willing to encode for formats not supported by all browsers
* For other authors, APNG doesn't help unless IE/Edge are going to support
IE/Edge won't be able to withstand public pressure, being the only browser without APNG, not for long.
Searching for apng on http://deviantart.com gives 810 results, searching on http://www.pixiv.net and https://www.tumblr.com gives more. Artists aren't happy with 256-color GIF limitations and they are willing to experiment and try new things.
That sounds like basically nothing. Hundreds of thousands of images would be more interesting.
As I said before, authors truly unhappy with GIF limitations who are willing to "try new things" already have an option in Chrome that is monotonically better than APNG. Comparatively few use it, and I think the reasons why also apply to APNG.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Keep in mind that other larger organizations such as Facebook and Netflix are using WebP.
Does mobile Safari support APNG today?
Perhaps run the demos for a while to see how well your battery lasts. No data on that aspect (battery use) in this thread that I can find.Proposing an RGBA-based format is interesting noting that YUV encoded still and motion image formats appear to rule our world. Chrome mobile supports YUV decoding on the GPU. That might improve battery use, but it certainly leads to faster decoding and reduces memory use.
Best I can tell, APNG is an RGBA-based format that requires CPU decoding. And PNG is the slowest image decoder we have (the most CPU intensive for the same image w x h). I have no data, but I expect that battery use will be impacted.
Proposing an RGBA-based format is interesting noting that YUV encoded still and motion image formats appear to rule our world. Chrome mobile supports YUV decoding on the GPU. That might improve battery use, but it certainly leads to faster decoding and reduces memory use.
On Wed, Aug 5, 2015 at 9:54 PM, Noel Gordon <no...@chromium.org> wrote:Perhaps run the demos for a while to see how well your battery lasts. No data on that aspect (battery use) in this thread that I can find.Proposing an RGBA-based format is interesting noting that YUV encoded still and motion image formats appear to rule our world. Chrome mobile supports YUV decoding on the GPU. That might improve battery use, but it certainly leads to faster decoding and reduces memory use.Can you explain why this is? It seems that not having to do an extra yuv -> rgb step would reduce work and increase battery life.
Best I can tell, APNG is an RGBA-based format that requires CPU decoding. And PNG is the slowest image decoder we have (the most CPU intensive for the same image w x h). I have no data, but I expect that battery use will be impacted.Maybe we can ask Apple since they focus a lot on increasing battery life
Maybe we can ask Apple since they focus a lot on increasing battery life
Also as I understand it, WebP gives better compression most of the time for roughly-equivalent image quality. I believe letting Mozilla complete WebP support is the better option. Once Mozilla finishes, I don't see much benefit at all to adding APNG support.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
I do not think the images sampled on that page are a fair representation what you would see as common animated images on the web right now. I am happy to listen openly if you feel differently.
Those images happen to be images that afford APNG several benefits. For example, there are no full-frame updates.
To try to be a tad more fair, I went to imgur and looked for the first animated gif I could find. Check out http://imgur.com/gallery/QyCAM. The second image, with the text "Engage" is an animated gif.
I don't mean to suggest APNG has no benefits.
I'm just chromium user (from first version), but, because I'm developer (mainly not web, but know pain of cross platform web development even only inside android) - I'm take a look on changes or discussions. All you guys, make great work!
But:
1. To move web forward, you need innovations, without respect to ghosty risks. Let me explain on example: every page implement own selectbox with rich content, and it is always works bad. Again - always. Web platform? It is joke. Allow developers show native popups (menus) with custom content, like engine do this, for calendars or date picker. This will increase usability on all valuable platforms. This will move web forward.
2. Web and platform, and browsers, is already technologies. Software technology is kind of software where nor 80/20 nor good enough rules is not enough. Technology should be flexible as it possible by any cost. (In this thread - not so big cost). I'm know that chromium team doing hardly on this. But this discussion just show that some people's just did not want / not sure. So why intents need, if at end decision taken by one person?
3. You worry about universe, while every chromium debug build crash in constantly normal environment: non ASCII chars in mime types on windows (by DCHECK), dchecks in fonts, what are work for peoples for years. Heh. Anyone sure, that there is expected? Okay, it is not in scope of thread. But note, that constant ignoring errors what are work good in production in years - is becomes expected behavior. It is not code critics. It is just shows, that before move web forward, you should close bugs. And BTW some bugs have more than 4 years.
4. While exists few number of major browsers - it automatically means, that others should (not must) implement same things. Otherwise - it is becomes again to web developer pain. And to end users too. If you support APNG - only IE/Edge will be last browser, that not support it. And this looks like that they do it. It is also part of move forward.
Finally - like Max shows, cost of APNG not so bigger, but benefits visible. From me - cost of Oilpan is high, but is mostly visible to developers (it is right direction, if is just for compare). And most users actually no found any difference. Yes, it is also by hard work.
You are speak about only in this thread, about month, about thing what already happens at two major browsers, and choose who will be third - chrome or edge. There is moving web backward.
With love to chromium, and big respect to all of yours big work!
Sincerely,
Dmitry
On Sunday, August 23, 2015 at 4:49:22 AM UTC+3, Chris Blume wrote:I do not think the images sampled on that page are a fair representation what you would see as common animated images on the web right now. I am happy to listen openly if you feel differently.
I think it's always more fair to represent different types on content. Picking just one would be less fair.
And that page represents different types of GIFs, not just 2-seconds-cut-from-a-movie GIFs, but also diagrams from wikipedia, and a cartoonish "doodle".
Those images happen to be images that afford APNG several benefits. For example, there are no full-frame updates.
I'm not sure what you mean by that. All those formats are capable of utilizing full frames, as well as inter-frame optimizations. I don't see any unfair benefits to APNG here. Using keyframes or not, it's up to authoring tools, anyway.
Perhaps run the demos for a while to see how well your battery lasts. No data on that aspect (battery use) in this thread that I can find.
On Thursday, August 6, 2015 at 7:55:05 AM UTC+3, Noel Gordon wrote:Perhaps run the demos for a while to see how well your battery lasts. No data on that aspect (battery use) in this thread that I can find.OK, I ran this demo for a while to collect the stats on 100 000 frames (3/100 sec delay means it took 3000 seconds = 50 minutes):
http://littlesvr.ca/apng/gif_apng_webp1.html
I measured the time spent inside decode(index) call from ImageDecoder::frameBufferAtIndex(size_t index)
Here's the results, total time for each animation:
24.3 sec : GIF
32.8 sec : APNG
34.4 sec : WebP 1
71.0 sec : WebP 2
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Judging from the discussion above, the decision not to include (already finished and reviewed) APNG support is clearly political and has nothing to do with technical merits of the format itself or its implementation by Max. Therefore, it is unlikely that continuing dicussion here will bring any results. The issue needs to be taken to the public and media discussion -- and I'm pretty sure the patch will suddenly get accepted and included in the next release.
BTW, who exactly is responsible for deciding whether to include APNG support or not? I haven't heard a single name here yet and it's pretty hard to understand the reasoning of someone you can't even talk to.
>Judging from the discussion above, the decision not to include (already finished and reviewed) APNG support is clearly political and has nothing to do with technical merits of the format itself or its implementation by Max.
I'd agree, it looks like it's purely a political opposition.
it is a huge benefit for both users and developers,
> Some of the technical concerns were posted earlier in the thread.All of them were refuted or can't be considered a concern at all unless you are desperately grasping at straws to deny an oppossing and more popular standard's presence in Blink at all costs.
> One of the many reasons this hasn't happened yet is that it's not at all clear to us it's a "huge benefit" for those groups.
There is a load of features in Chrome that neither end-users nor web-developers are even aware of, let alone use - unlike APNG. Features that use more code than the proposed APNG implementation. Why were THEY implemented according to your logic?
> it's not at all clear to us
And - again - who is "us" exactly? You were mentioning some mysterious superiors who decide whether to support a feature or not earlier in the thread - who are they?
maxs...@gmail.com https://wiki.mozilla.org/APNG_Specification Support for animated PNG images. 256-color GIF still serves as the Web's lowest common denominator for simple animations, since it works everywhere. But APNG already works in Firefox and Safari/WebKit, so why not add blink-based browsers into the equation and agree on something better than obsolete 256-color format from the 80s? Firefox: Shipped Safari: Shipped Internet Explorer: Public skepticism Web developers: Positive Mature, stable specification. Support is other browsers. Low risk. None Yes http://crbug.com/437662 https://www.chromestatus.com/features/6691520493125632 No
This is irrelevant to the topic at hand. We're discussing APNG, not random other features. Plus you're begging the question by describing these as features "that neither end-users nor web-developers are even aware of, let alone use ... that use more code". Especially when you're not going to name specific examples, this isn't a productive line of discussion.
Several hundred lines of image decoder code is a significant amount of complexity and definitely not something I'd want to take on lightly.
For APNG, there is no need to add any libraries into "third-party", it works fine on top of regular libpng. It's very lightweight.
Max.
> Regarding complexity, he stated that it would be "manageable" because it's several hundred lines plus tests. Several hundred lines of image decoder code is a significant amount of complexity and definitely not something I'd want to take on lightly.
I will let Max comment on that since he is the author of the code and Noel Gordon since he is the one who reviewed it. I want to underline, however, the fact that the patch was already accepted and only waits for approval to be included in the release.
> For example, regarding usage, he cited several hundred instances on DeviantArt.
You are inversing the cause-effect relation. Current usage should not be a reason for inclusion of an open standard at all
Neither will they use WebP however,
we are left with the clearly outdated GIF or MP4 (e.g. VK.com converts GIFs to MP4 videos) which is a no-no for being propritary and patent-encumbered.
The only compromise here would be to support both WebP and APNG and see who wins
worth reiterating that even with current limited browser support for both WebP and APNG, APNG clearly is used more often - i.e. there is more demand for it.
On Mon, Feb 22, 2016 at 3:33 PM, Dexter <sin...@gmail.com> wrote:> Regarding complexity, he stated that it would be "manageable" because it's several hundred lines plus tests. Several hundred lines of image decoder code is a significant amount of complexity and definitely not something I'd want to take on lightly.
I will let Max comment on that since he is the author of the code and Noel Gordon since he is the one who reviewed it. I want to underline, however, the fact that the patch was already accepted and only waits for approval to be included in the release.It's had an initial review,
> Wait, I'm not even sure this is true. I found two patch variants, a newer one and a superseded older one, and neither had been reviewed, just assigned a reviewer. Did I miss the actual LGTM'd patch?I'm referring to this: https://codereview.chromium.org/1312843006#ps1
If I'm wrong in assuming that the patch has been reviewed - do you have a reason for why it hasn't been?
The majority of GIFs on the web today really ought to be videos, not images.
The only compromise here would be to support both WebP and APNG and see who winsOr support neither. Which is a position I personally wouldn't mind taking.
LayoutTests/fast/images/animated-png.html
LayoutTests/fast/images/animated-png-expected.html