It is currently Mon Sep 16, 2019 9:27 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [No bug] SaveImage topic would benefit from clarification
PostPosted: Mon Feb 25, 2019 11:59 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Tue Nov 22, 2011 5:11 pm
Posts: 271
Location: Kelowna, BC, Canada
SaveImage() topic:

Please add a sentence stating:

Quote:
This command will not overwrite existing files.



Thanks!

_________________
PB 5.71 beta 3 on Windows 10 & OS X High Sierra


Top
 Profile  
Reply with quote  
 Post subject: Re: SaveImage topic would benefit from clarification
PostPosted: Tue Feb 26, 2019 9:25 am 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13612
Location: France
Are you sure ? It should overwrite them unless it's locked by another process


Top
 Profile  
Reply with quote  
 Post subject: Re: SaveImage topic would benefit from clarification
PostPosted: Tue Feb 26, 2019 6:30 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Dec 23, 2003 3:54 am
Posts: 1650
I use SaveImage() over existing files all the time... you must have a permissions access problem, or file in-use elsewhere as Fred said. What OS and version?

_________________
On GitHub: PB Includes - IDE Tools - Color Themes


Top
 Profile  
Reply with quote  
 Post subject: Re: SaveImage topic would benefit from clarification
PostPosted: Tue Feb 26, 2019 10:16 pm 
Offline
Addict
Addict

Joined: Mon Feb 16, 2015 2:49 pm
Posts: 1896
SaveImage() overwrites files for me, just like CreateFile() does. As mentioned, your problem lies elsewhere, such as the file is read-only or something.


Top
 Profile  
Reply with quote  
 Post subject: Re: SaveImage topic would benefit from clarification
PostPosted: Wed Mar 06, 2019 11:41 pm 
Offline
PureBasic Team
PureBasic Team
User avatar

Joined: Fri Apr 25, 2003 6:14 pm
Posts: 1701
Location: Germany (Saxony, Deutscheinsiedel)
Topic marked as 'no bug'.

_________________
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye