summaryrefslogtreecommitdiff
path: root/cpp/poppler-image.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-07-03Run clang-formatAlbert Astals Cid1-37/+22
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \; If you reached this file doing a git blame, please see README.contributors (instructions added 2 commits in the future to this one)
2019-12-02Enable modernize-use-emplaceAlbert Astals Cid1-5/+5
Not claiming copyright since it's a mechanical change
2019-12-02Enable modernize-make-shared and modernize-make-uniqueAlbert Astals Cid1-4/+4
2019-11-29Enable readability-inconsistent-declaration-parameter-nameAlbert Astals Cid1-7/+7
2019-11-29Return early in operator= if we're assigning to ourselvesAlbert Astals Cid1-1/+4
Makes bugprone-unhandled-self-assignment happy
2019-02-10cpp: docs: Add header file informationMasamichi Hosoda1-0/+3
This commit adds header files for the document. It generates header file information including dependency graphs and so on.
2018-09-01Update (C) from last commitsAlbert Astals Cid1-0/+1
2018-08-31Bump required C++ standard version to C++14 and convert a few hopefully ↵Adam Reichold1-1/+1
obvious call sites where types are repeated to using std::make_unique.
2018-05-04cpp: Expose more image modes, add option to select mode in rendererZsombor Hollay-Horvath1-1/+45
Bug #105558
2018-01-08Run clang-tidy with modernize nullptrAlbert Astals Cid1-10/+10
Also add two enum values in the qt5 frontend to representate no flags Also mark glib/gtk/cairo system includes so that gcc doesn't report the issues in those headers
2018-01-08Delete lots of copy constructors and copy assignment operatorsAlbert Astals Cid1-1/+3
Fixes rule-of-three and copyable-polymorphic warnings reported by clazy. The default copy constructor and copy assignment operator are only valid for simple classes so we delete them (i.e. make then not exist) when we have either a virtual class or a destructor, the code still compiles so this doesn't fix any bug, it is more a protection for when you think you can copy a class and don't realize the default copy constrcutor is not doing what you want and you get crashes. Hopefully this helps us in the future :)
2017-11-12Fix for corrupted image files on WindowsJeroen Ooms1-1/+2
Bug #102494
2017-05-05auto_ptr -> unique_ptrAlbert Astals Cid1-4/+5
2013-12-10Update copyrightsAlbert Astals Cid1-0/+1
2013-08-30Make cpp/poppler-image.cc use goo/NetPBMWriterAdrian Johnson1-8/+6
2011-01-06[cpp/apidox] advertize the 'pnm' image formatPino Toscano1-0/+1
2011-01-06[cpp] Add PNM (PBM/PGM/PPM) exporting to 'image'.Pino Toscano1-1/+21
Introduce a custom ImgWriter (PNMWriter) for exporting in the PNM variants, and use it choosing the output format matching as close as possible the format of the image.
2010-12-29[cpp] add TIFF output to 'image'Pino Toscano1-0/+12
2010-11-08[cpp/apidox] add the minimum version of 'image'Pino Toscano1-0/+2
2010-11-08[cpp] add image::bytes_per_row()Pino Toscano1-0/+8
2010-10-14[cpp] make it compile also when there are no image formats availablePino Toscano1-0/+1
including the ImgWirter.h is enough to get the definition of ImgWriter
2010-10-10[cpp] Add a new 'image' class.Pino Toscano1-0/+431
This implicitely shared class represents the data buffer of an "image", with direct access to the data. It also has a function to save to file (png/jpeg). Still a FIXME in the copy() method and in the save() (for mono images only).