Perhaps I didn't phrase myself well:
I have no problem with loading only parts of the file, nor with saving just the parts resident in memory.
I just can't see why the saveFile semantics should be different for saving under a new name and saving under the original name!
Search found 5 matches
- Sun, 2010-01-03, 20:47
- Forum: DCMTK - General
- Topic: Modify DicomTag Value
- Replies: 7
- Views: 8303
- Sun, 2010-01-03, 19:40
- Forum: DCMTK - General
- Topic: Modify DicomTag Value
- Replies: 7
- Views: 8303
This is correct in case the output filename is identical to the input filename (overwrite file). If they are different (write new file), the explicit call to loadAllDataIntoMemory() is not required. I just got bitten by the same issue, and I must say this seems a rather weird API design (if it is i...
- Tue, 2009-01-27, 11:38
- Forum: DCMTK - Installation
- Topic: Compiler Warnings on VS2005
- Replies: 2
- Views: 5920
- Tue, 2009-01-27, 09:53
- Forum: DCMTK - General
- Topic: Crashes with global objects
- Replies: 4
- Views: 6218
Crashes with global objects
Hi I'm writing a program that links to dcmtk 3.5.4, and i encountered problems when trying to declare global dcmtk objects. for example: DcmFileFormat g_dffCrashesOnStartup; int _tmain(int argc, _TCHAR* argv[]) { ... } I believe the problem lies in the following copy ctors, called during constructio...
- Mon, 2009-01-26, 09:25
- Forum: DCMTK - Installation
- Topic: Compiler Warnings on VS2005
- Replies: 2
- Views: 5920
Compiler Warnings on VS2005
Hi. while compiling an app that links to dcmtk 3.5.4 (with warning level set to 4), i get the casting warnings. For the dcmtk source: int numberOfRepeatingTagEntries() const { return repDict.size(); } Or: inline Uint32 getCount() const { return List.size(); } i get: warning C4267: 'return' : convers...