[No bug] SaveImage topic would benefit from clarification

Found an issue in the documentation ? Please report it here !

Moderator: Documentation Editors

User avatar
kpeters58
Enthusiast
Enthusiast
Posts: 341
Joined: Tue Nov 22, 2011 5:11 pm
Location: Kelowna, BC, Canada

[No bug] SaveImage topic would benefit from clarification

Post by kpeters58 »

SaveImage() topic:

Please add a sentence stating:
This command will not overwrite existing files.

Thanks!
PB 5.73 on Windows 10 & OS X High Sierra
Fred
Administrator
Administrator
Posts: 16681
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SaveImage topic would benefit from clarification

Post by Fred »

Are you sure ? It should overwrite them unless it's locked by another process
User avatar
kenmo
Addict
Addict
Posts: 1967
Joined: Tue Dec 23, 2003 3:54 am

Re: SaveImage topic would benefit from clarification

Post by kenmo »

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?
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: SaveImage topic would benefit from clarification

Post by Dude »

SaveImage() overwrites files for me, just like CreateFile() does. As mentioned, your problem lies elsewhere, such as the file is read-only or something.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2058
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: SaveImage topic would benefit from clarification

Post by Andre »

Topic marked as 'no bug'.
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply