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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...