Documentation
¶
Overview ¶
Package craw provides support for loading Camera Raw settings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( GlobalSettings string // The global Camera Raw settings directory. UserSettings string // The user's Camera Raw settings directory. EmbedProfiles string // The file where to look for embed profiles. )
Paths used to find Camera Raw settings.
Functions ¶
func GetCameraProfileNames ¶
GetCameraProfileNames gets the names of all profiles that apply to a given camera. It looks for profiles under the GlobalSettings and UserSettings directories, and in the EmbedProfiles file, if set.
func GetCameraProfiles ¶
GetCameraProfiles gets all the profiles that apply to a given camera. Returns the DCP file paths for the profiles. It looks for profiles under the GlobalSettings and UserSettings directories.
Types ¶
type IndexedRecord ¶
type IndexedRecord struct { Path string // The path to the indexed file. Prop map[string]string // The name-value property pairs. }
IndexedRecord holds properties for an indexed file.
func LoadIndex ¶
func LoadIndex(path string) ([]IndexedRecord, error)
LoadIndex loads an Index.dat file. Index.dat files index the profiles, presets and other settings in a Camera Raw settings directory for faster access.