Is there a way to know if the background color was really set using the demux API?
I ask because
WebPDemuxGetI(WEBP_FF_BACKGROUND_COLOR)
will always succeed, so there is no way to know if the color I received was set by whomever created the image or if I just received the default value the library uses to initialize the struct.
I want to use that background color only if the author wanted to force a background for his image.
using WebPDemuxGetI(..., WEBP_FF_FORMAT_FLAGS) and checking for WebPFeatureFlags::ANIMATION_FLAG
If that is correct I would like to suggest you guys to update the documentation onWEBP_FF_FORMAT_FLAGS to indicate that, because just by looking at the docs on the
website or in the header it is impossible to figure that out. Only by digging into
the source I was able to see it.
Question #2 still stands.
Hummm
there seems to be an even better way to deal with my question #1:using WebPDemuxGetI(..., WEBP_FF_FORMAT_FLAGS) and checking for WebPFeatureFlags::ANIMATION_FLAG
If that is correct I would like to suggest you guys to update the documentation onWEBP_FF_FORMAT_FLAGS to indicate that, because just by looking at the docs on the
website or in the header it is impossible to figure that out. Only by digging into
the source I was able to see it.
Question #2 still stands.
Thanks!
--
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss+unsubscribe@webmproject.org.
To post to this group, send email to webp-d...@webmproject.org.
Visit this group at https://groups.google.com/a/webmproject.org/group/webp-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.