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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...