diff options
| author | Josh Andler <scislac@gmail.com> | 2012-07-23 19:23:23 +0000 |
|---|---|---|
| committer | Josh Andler <scislac@gmail.com> | 2012-07-23 19:23:23 +0000 |
| commit | 377dc932067f9095ca3d940b4cf5be6e07ccb2f1 (patch) | |
| tree | 911ebf771d423330760b0bd09b4ae0c789d6c62a /src/extension/internal/image-resolution.h | |
| parent | Bitmap. Fix for Bug #165952 (png resolution not imported) by Daniel Wagenaar. (diff) | |
| download | inkscape-377dc932067f9095ca3d940b4cf5be6e07ccb2f1.tar.gz inkscape-377dc932067f9095ca3d940b4cf5be6e07ccb2f1.zip | |
Add missing files and add Daniel Wagenaar to Authors
(bzr r11568)
Diffstat (limited to 'src/extension/internal/image-resolution.h')
| -rw-r--r-- | src/extension/internal/image-resolution.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/extension/internal/image-resolution.h b/src/extension/internal/image-resolution.h new file mode 100644 index 000000000..c42260f7d --- /dev/null +++ b/src/extension/internal/image-resolution.h @@ -0,0 +1,40 @@ +/* + * Authors: + * Daniel Wagenaar <daw@caltech.edu> + * + * Copyright (C) 2012 Authors + * + * Released under GNU GPL, read the file 'COPYING' for more information + */ + + +#ifndef IMAGE_RESOLUTION_H + +#define IMAGE_RESOLUTION_H + +namespace Inkscape { +namespace Extension { +namespace Internal { + +class ImageResolution { +public: + ImageResolution(char const *fn); + bool ok() const; + double x() const; + double y() const; +private: + bool ok_; + double x_; + double y_; +private: + void readpng(char const *fn); + void readexif(char const *fn); + void readexiv(char const *fn); + void readjfif(char const *fn); +}; + +} +} +} + +#endif |
