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
2
Question by PProductions · Nov 05, 2013 at 05:25 PM · webplayersavingscreenshotcopy

How to copy to system clipboard?

For my project the user needs to be able to capture a screenshot then save it to a location on disk. Capturing the screenshot is fine, and I use render textures to get a higher resolution. However I cannot find a way to get the image 'out of unity'. How would you copy an image(Texture2D) to the system clipboard so it can be pasted in Word etc. from the Webplayer? All the examples I've seen have been copying text only. Thanks in advance

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Jsyoung43 · Nov 19, 2013 at 09:13 PM

I personally have just done a screen capture using the (ctrl + PrtScn) function and Paste that into Paint than saved that as a Picture File

Comment
Add comment · Show 2 · 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 PProductions · Nov 19, 2013 at 10:26 PM 0
Share

I am looking to use a higher resolution than the unity window, so print screen is not an option. Also this is for a client that are not overly technical so I need a one click solution. Thanks for your help

avatar image Jsyoung43 · Nov 19, 2013 at 11:17 PM 0
Share

have you tried exporting the texture and tried to extract or convert to what you need to be able to edit it

avatar image
0

Answer by PedroMR · Jul 22, 2014 at 03:18 PM

Unity has an Application.CaptureScreenshot method that should do what you need. It even has a super sample parameter that is perfect for your use case.

Comment
Add comment · Show 2 · 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 PProductions · Jul 28, 2014 at 10:31 PM 0
Share

I was using a webplayer and unfortunately that function doesn't work in the webplayer

avatar image WilliamLeu · Jul 28, 2014 at 10:41 PM 0
Share

The web player is restricted on what libraries and functions it can use. Giving the programmer free reign of the clipboard is probably something that's prohibited.

You may be better off capturing the screen into a Texture2D, and then looking up some source code to upload it as a PNG to a image hosting site like imageshack or flickr. You'll probably also have to swim through the return HT$$anonymous$$L to figure out what the image link is.

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

Copy/Paste Key Combos in Webplayer 1 Answer

Capture Screenshot not working in WebGL 1 Answer

Saving screenshot to iPhone Camera Roll 3 Answers

How can I add Copy/Paste clipboard support to my game? 6 Answers

Best way to capture super large screenshot images (all GPUs) 0 Answers


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