Search found 3 matches
- Tue Oct 25, 2011 11:39 am
- Forum: Support and Development
- Topic: save a screenshot is not working, why?
- Replies: 4
- Views: 3866
Re: save a screenshot is not working, why?
I found out that by using the admin user on my PC the code actually works. Strange that the LOVE program doesn't have the access to write in the APPDATA folder when I use my other user. Sorry I couldn't post a .love file but I'd have some images that I use in the code that I can't publish. Problem s...
- Tue Oct 25, 2011 6:39 am
- Forum: Support and Development
- Topic: save a screenshot is not working, why?
- Replies: 4
- Views: 3866
Re: save a screenshot is not working, why?
Thanks for the answer! ;) I have this conf.lua file that sets the identity: function love.conf(t) t.screen.width = 1000 t.screen.height = 680 t.identity = "sheets" t.console = true end my goal is to have the images saved inside the sheets folder. Can I redirect the image to a folder outsid...
- Mon Oct 24, 2011 7:47 am
- Forum: Support and Development
- Topic: save a screenshot is not working, why?
- Replies: 4
- Views: 3866
save a screenshot is not working, why?
Hi, I'm trying to simply save a screenshot in a bmp image. I'm listening to a mouse click to take the screenshot and I'm executing: local s = love.graphics.newScreenshot() --ImageData local d = love.image.newEncodedImageData(s, "bmp") local success = love.filesystem.write("pic.bmp&quo...