|
While writing some long-overdue documentation, I noticed a lot of small improvements that could be made to some of the format plugins.
* Several places incorrectly set "ResolutionUnits" attribute that should have been "ResolutionUnit".
* A few places incorrectly set "BitsPerSample" attribute to the bits per pixel.
* In icooutput.cpp, use boost::iequals rather than #ifdef and stricmp/strcasecmp.
* In some other places, use iequals to do case-insensitive comparisons of attribute names and values (and prefer it over strcmp).
* Added additional file extensions to JPEG and Targa.
* A few other miscellaneous attribute names or values were regularized to conform to our usual conventions.
* Softimage input neglected to set the ImageDescription to the comment field.
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+58 lines, -52 lines) |
Patch |
|
|
src/bmp.imageio/bmpinput.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
|
src/bmp.imageio/bmpoutput.cpp
|
View
|
|
1 chunk |
+3 lines, -2 lines |
1 comment
|
Download
|
|
|
src/cineon.imageio/cineoninput.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
src/ico.imageio/icoinput.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
|
src/ico.imageio/icooutput.cpp
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
|
src/jpeg.imageio/jpeginput.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
src/jpeg.imageio/jpegoutput.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
src/jpeg2000.imageio/jpeg2000input.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
src/jpeg2000.imageio/jpeg2000output.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
|
src/openexr.imageio/exroutput.cpp
|
View
|
|
5 chunks |
+18 lines, -15 lines |
0 comments
|
Download
|
|
|
src/png.imageio/png_pvt.h
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
|
src/softimage.imageio/softimageinput.cpp
|
View
|
|
1 chunk |
+5 lines, -0 lines |
1 comment
|
Download
|
|
|
src/targa.imageio/targainput.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
|
src/targa.imageio/targaoutput.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
src/tiff.imageio/tiffoutput.cpp
|
View
|
|
3 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
Total messages: 3
|