All Apps and Add-ons

"The icon found in the package is not a valid png file" error on publish to splunkbase

omerl
Path Finder

Hey

I'm trying to publish an app to splunkbase.

This is the error message I get: "The icon found in the package is not a valid png file"

The app contains 4 icon files in the static folder in .png format (these are the files)

Does someone know how to solve this issue? AFAIK, those are the only needed icon files (I have a published app from a year ago which has a similar structure).

Thanks

sideview
SplunkTrust
SplunkTrust

I think it's because these are 32-bit PNG files. I downloaded them and looked at them and they do seem to have a bit depth of 32.

Try saving them as 24-bit or better yet 8-bit png's. There won't be any loss since the images are pretty simple.

I think it's quite possible that the code that is checking the file formats was just written before 32 bit pngs were a thing!

I hope that helps.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...