summaryrefslogtreecommitdiff
path: root/icon-themes/colibre/res/soliline.png
blob: 62fee1247754c780403d6d15cf6df866f986523f (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 40 00 00 00 0c 08 06 00 00 00 d2 f3 bb .PNG........IHDR...@............
0020 c9 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 0d d7 00 00 0d .....sBIT....|.d.....pHYs.......
0040 d7 01 42 28 9b 78 00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 00 77 77 77 2e 69 6e 6b 73 63 ..B(.x....tEXtSoftware.www.inksc
0060 61 70 65 2e 6f 72 67 9b ee 3c 1a 00 00 00 25 49 44 41 54 48 89 ed ce 31 01 00 30 0c 80 30 56 ff ape.org..<....%IDATH...1..0..0V.
0080 9e 3b 19 1c 25 0a 02 49 92 bb 1e b0 76 c2 34 76 20 49 4c 1f 18 74 01 03 d9 43 e3 b3 00 00 00 00 .;..%..I....v.4v.IL..t...C......
00a0 49 45 4e 44 ae 42 60 82 IEND.B`.
hat the size reported was 0,0 and somehow the crop factor wasn't applied correctly. This change fixes the metadata reading and makes it more robust. Change-Id: I60951e5d01afc311c400589496ae82377ccb4cf5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156457 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2023-06-24tdf#156016 Fix bug where SVG check size would be 0Paris Oplopoios Change-Id: I1c4adf75bbfbce7cb6b779375714b1c1bc7ec50d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153543 Tested-by: Jenkins Reviewed-by: Paris Oplopoios <parisoplop@gmail.com> 2023-06-14Remove duplicate constants relating to PNGsParis Oplopoios The PNG signature constant was defined in multiple places Change-Id: Ia90636819341295129a37a91199857a612d62177 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153032 Tested-by: Jenkins Reviewed-by: Paris Oplopoios <parisoplop@gmail.com> 2023-06-10tdf#104877 Add basic APNG format supportParis Oplopoios Add basic APNG (animated PNG) format support that can correctly display simple files with no transparency Change-Id: Ibfb6e13953a8ba48a535a40b08792b3723b7dc0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140089 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-09-15Revert removed lines and remove unused vars in GraphicFormatDetectorofftkp Also removed now pointless line making stream seek back to start as a SeekGuard exists now Change-Id: I82e8e6852b47176fff8aae3e7d7b0e7d5c533b40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139956 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-09-15Remove code duplication in GraphicDescriptor for PCXofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for PCX files Change-Id: Ib4c9ca98c420b313fd3483272a7844d98ea227dd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139274 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-09-14Return to starting stream position after checking formatofftkp After checking a format now return to starting format position in GraphicFormatDetector. Change-Id: Iaaeb2590f3d4928fbfba3f5386cb53e87ca16905 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138936 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-09-14Remove code duplication in GraphicDescriptor for PBM/PGM/PPMofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for PBM/PGM/PPM files Change-Id: Ib239bb0aafcfa691d63025d5965f199bf11c7649 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138847 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> 2022-09-05Remove code duplication in GraphicDescriptor for SVMofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for SVM files Change-Id: I459ac1a3301ba8a4d423620c0c6977272fdbb384 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138740 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-09-05Remove code duplication in GraphicDescriptor for TIFofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for TIF files Change-Id: Ia55b1606df5171dc41d94d19262a83910bd024a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138730 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-08-22Remove code duplication in GraphicDescriptor for PSDofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for PSD files Change-Id: Icae532a7143477dada411224293250a26676c684 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138227 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-08-22Remove code duplication in GraphicDescriptor for PNGofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for PNG files Change-Id: I8ce1c5eee44ff4122f4ecf1094d3d8b18379c6b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138226 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-08-22Remove code duplication in GraphicDescriptor for BMPofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for BMP files Change-Id: I1cf096034a77826e61c36f0a5094976f49814747 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138216 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-08-22Remove code duplication in GraphicDescriptor for WEBPofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for WEBP files Change-Id: Ib9d7169433b391e2520d6b9bca831fa964a8d136 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138211 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-08-19Remove code duplication in GraphicDescriptor for WMF/EMFofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for WMF/EMF files and their Z compressed counterparts WMZ/EMZ Change-Id: Ia054c782320923aaa0c2c8bda2f33c27c3b123d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138067 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-08-12cid#1507888 Uninitialized scalar fieldCaolán McNamara Change-Id: I64747e43f76d0f214efc4bd964795517561d9693 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138163 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2022-08-10Remove code duplication in GraphicDescriptor for GIFofftkp GraphicFormatDetector and GraphicDescriptor have duplicate format detection code so now GraphicDescriptor uses GraphicFormatDetector functions instead to detect the format for GIF files Change-Id: Ieabacb302c9c712fc6f3da85eaccc07dca035eba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137934 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-08-10Prepare GraphicDescriptor and GraphicFormatDetector for mergingofftkp Make GraphicFormatDetector return GraphicFileFormat instead of a string and various variable changes so that the two can be combined in future patches. Change-Id: I6e184b3ba52289db02e0d4eebeeadde0ce0433b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137627 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-07-13clang-tidy modernize-pass-by-value in vclNoel Grandin Change-Id: I9ddb786eb88213c53cf53067ced6899ca40ac6e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137000 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2022-05-06tdf#103954: Z compressed graphic formats support for EMF/WMFofftkp - Added .emz and .wmz file opening support - Added a function to check for Z compression that all z comp. formats can use - Added 3 unit tests for emf/emz/wmz files and the example files have been checked with a different tool (File Viewer 4) - emf/emz file detection changed from magic byte checking to extension checking, like wmf/wmz does Change-Id: I3e433fd23d18482648a51cd04b8f467368e97b62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132456 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2022-01-31support for the WebP image format (tdf#114532)Luboš Luňák This commit implements a WebP reader and writer for both lossless and lossy WebP, export dialog options for selecting lossless/lossy and quality for lossy, and various internal support for the format. Since writing WebP to e.g. ODT documents would make those images unreadable by previous versions with no WebP support, support for that is explicitly disabled in GraphicFilter, to be enabled somewhen later. Change-Id: I9b10f6da6faa78a0bb74415a92e9f163c14685f7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128920 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara Change-Id: I6bafceac5ebd1852aaf296abe89b49b74ad884d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121598 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara Change-Id: I3a45c8141b9f824c985dcf1aaac5d1aa45c0f70d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121575 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2021-09-03ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara Change-Id: I6a8dd39528038fbcc496e56d6fcefc4ec8db68cf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121536 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2021-09-01ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara Change-Id: Iebbc5c690231966960a5dd00908a0a4e1bf15bb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121400 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2021-08-31ofz: MemorySanitizer: use-of-uninitialized-valueCaolán McNamara Change-Id: I9c7eae9b8744b946a00b6285f4f0ed83d63f4834 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121333 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2021-02-18vcl: move def. of peekGraphicFormat into GraphicFormatDetectorTomaž Vajngerl Change-Id: I3b89009324f21b54ccf00f16eb47f9967a6b4e1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111091 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2021-02-17ofz#31021 Stack-buffer-overflowCaolán McNamara Conditional jump or move depends on uninitialised value(s) at 0x483CB98: strlen (vg_replace_strmem.c:459) by 0x49B4CA3: int rtl::str::getLength<char>(char const*) (strtmpl.hxx:65) by 0x49B7232: void rtl::str::newFromStr<_rtl_String>(_rtl_String**, rtl::str::STRCODE_DATA<_rtl_String>::type const*) (strtmpl.hxx:1344) by 0x49B470C: rtl_string_newFromStr (string.cxx:611) by 0x6059266: rtl::OString::OString<char [18]>(char (&) [18], rtl::libreoffice_internal::NonConstCharArrayDetector<char [18], rtl::libreoffice_internal::Dummy>::Type) (string.hxx:275) by 0x6058B5E: vcl::GraphicFormatDetector::checkTGA() (GraphicFormatDetector.cxx:525) since... commit 48d655fe12bc2c4c42d6c88b8a43fade1614ee2a Date: Mon Feb 15 16:25:56 2021 +0900 vcl: Detect TGA graphic by inspecting the file footer Change-Id: I52641ac541d5631e16fc271c35d6a671acb75c93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111006 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> 2021-02-15vcl: Detect TGA graphic by inspecting the file footerTomaž Vajngerl Works only with TGA ver.2 files. Change-Id: I0378a1e03e238cd444175035768cccf491480191 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110898 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2020-05-03vcl: simplify graphic type detection for EPS filesTomaž Vajngerl Change-Id: Ia48560274c33aaa8e81a5ee6eb00f6470e92e0fd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93349 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2020-05-03vcl: add DetectorTools + tests, refactor array string matchingTomaž Vajngerl Add DetectorTools with byte array searching and matching to a input string (or another byte array). This refactors the existing function in GraphicFormatDetector. It needs to go into its own header so that the function(s) can be tested easily. Replace the previous searchEntry implementation with refactored one in the source code. Change-Id: I59d30b694e13f28d6366f1a99fe2ef2ea3c1a07d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93339 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2020-05-03vcl: Simplify searchEntry in GraphicFormatDetectorTomaž Vajngerl Makes the code much more readable.. Change-Id: I99d89652bda4ac74c867d70ec565403510c58c61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93338 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> 2019-09-18remove unused crc functionality from ZCodecNoel Grandin Change-Id: I3e57e815b538ad5749b4bab3d4ef8e295cbe116b Reviewed-on: https://gerrit.libreoffice.org/79098 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-07-16cid#1448456 Uninitialized scalar fieldCaolán McNamara Change-Id: I9b29898db96709f5b2d47deb962a124d7cb33eff Reviewed-on: https://gerrit.libreoffice.org/75655 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2019-05-29missing includeStephan Bergmann Change-Id: I3357679d99a4ac2dab21867890140ab5ef2290ad Reviewed-on: https://gerrit.libreoffice.org/73177 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-05-10introduce graphic format detector (and basic metadata)Tomaž Vajngerl Currently we detect a graphic format in a ImpPeekGraphicFormat method, which is called when reading a graphic from a stream. The code is quite convoluted and doesn't help with readability of graphicfilter.cxx Additionally there exists an detection code written for the UNO class GraphicDescriptor, which duplicates the detection, but can in addition also extract other metadata at the same time. This introduces the initial implementation of GraphicFormatDetector class. It will first replace the code in ImpPeekGraphicFormat to detect the graphic format and then later also be extended to do what the GraphicDescriptor is doing. But currently it only duplicates the implementation of ImpPeekGraphicFormat. The problem with both of the current solution is that there are not any tests written. For the GraphicFormatDetector however the approach is to add test cases to check the current implementation and only then refactor the code. Change-Id: Idb9d3859b4380e3f15237d97aff969ce81e631dd Reviewed-on: https://gerrit.libreoffice.org/72086 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>