Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by FatWednesday · Jul 03, 2013 at 10:47 AM · screenshot

libpng versions

Hey all,

I have an app that is building from unity 4.1.5 and is using Scaleform for UI. (I mention scaleform because I think its the likely cause at this point).

I'm trying to take a screenshot of the application during an Augmented Reality scene for social sharing.

However when I try to take the screenshot I get this log.

libpng warning: Application built with libpng-1.2.18 but running with 1.5.13

Failed to store screen shot

Now the only sign of any additional libpng stuff I can find in the project is scaleform which looks to include it and add a linker flag to it in the xcode project.

My question is, has anyone had this or a similar libpng issue before? Does anyone have any suggestions as to how I can overcome this issue? or perhaps there is a way of generating a screenshot from unity without it using libpng

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image IMD · Aug 10, 2013 at 06:33 PM 0
Share

Hey FatWednesday,

I've also just encountered this issue.. It seems like Texture2D's EncodeToPNG() function conflicts with Scaleform's code base when building to iOS.

Did you find a solution? I'm thinking I may need to write my own PNG encoder in C#.. :O

avatar image halsafar · Dec 18, 2013 at 08:30 PM 0
Share

I am running into this issue except libpng is just telling me incompatible versions in application and headers. What version of libpng is Unity 4.3.2 using? The headers just need to match and it won't complain any more.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Eugenio · Sep 24, 2013 at 10:32 AM

Hope that someone will find this useful as I think it is !!! :)

You can download a fixed Scalefrom package from here: http://forums.autodesk.com/t5/Scaleform-Unity-Development/libpng-screenshots/td-p/4318237

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by halsafar · Dec 20, 2013 at 02:31 PM

Unity 4.3.2 uses libpng 1.2.18

All you have to do is match the headers from libpng 1.2.18 and Unity is already linked against the library. These errors disappear and you can use libpng.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is is possible to output screenshots from Unity? 5 Answers

Specifying a camera using ScreenShotMovie and changing capture rate while not affecting playback rate 1 Answer

I need to set the path for saving the pictures with an application for Android and IOS 2 Answers

Taking Screenshots in Unity 1 Answer

How to get a screenshot in game and re-use in game? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges