MCPcopy Create free account
hub / github.com/bluescan/tacentview / Load

Method Load

Src/Image.cpp:142–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141
142bool Image::Load(const tString& filename, bool loadParamsFromConfig)
143{
144 if (filename.IsEmpty())
145 return false;
146
147 Filename = filename;
148 Filetype = tGetFileType(Filename);
149
150 tSystem::tFileInfo info;
151 if (tSystem::tGetFileInfo(info, filename))
152 {
153 FileModTime = info.ModificationTime;
154 FileSizeB = info.FileSize;
155 }
156
157 return Load(loadParamsFromConfig);
158}
159
160
161bool Image::Load(bool loadParamsFromConfig)

Callers 15

LoadCurrImageMethod · 0.45
OnRefreshMethod · 0.45
LoadAppImagesMethod · 0.45
ShowPreferencesWindowMethod · 0.45
SaveImageAsMethod · 0.45
SaveResizeImageAsMethod · 0.45
ComputeMaxWidthHeightMethod · 0.45
AllDimensionsMatchMethod · 0.45
SaveMultiFrameToMethod · 0.45
ProcessMethod · 0.45
AnyImageNeedsResizeMethod · 0.45

Calls 5

GetNumFramesMethod · 0.80
GetWidthMethod · 0.80
GetHeightMethod · 0.80
IsOpaqueMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected