Activity for GraphicsMagick

  • Bob Friesenhahn committed [04275a]

    ReadPDBImage(): Assure that pixels buffer is initialized. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [af52e7]

    ReadMVGImage(): Assure that MVG viewbox parameters were supplied. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [7d8869]

    ReadDPXImage(): Element descriptors CbYCrY422 and CbYACrYA4224 require that the image width be evenly divisible by 2 so enforce that. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [3a471c]

    ReadDPXImage(): Validate that the image elements do update all of the channels, including the alpha channel. Now report an error if a color channel is missing. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [f17c5e]

    GIF DecodeImage(): Fix heap read overflow due to out of range 'code' value

  • Jaroslav Fojtik Jaroslav Fojtik committed [b4f327]

    coders/topol.c Do not read padding tile data, abort the current tile reading.

  • Jaroslav Fojtik Jaroslav Fojtik committed [a6c3a6]

    * coders/topol.c Emit error when tile storage overflows image data; fixes oss-fuzz 7769 thanks to oss-fuzz.

  • Bob Friesenhahn committed [7d1963]

    Update generated files

  • Gregory J Wolfe Gregory J Wolfe committed [b5ca60]

    SVG: Process paths containing multiple subpaths correctly.

  • Bob Friesenhahn committed [7eca60]

    Update generated files

  • Gregory J Wolfe Gregory J Wolfe modified ticket #288

    gm convert svg: Non-conforming drawing primitive definition (image).

  • Gregory J Wolfe Gregory J Wolfe posted a comment on ticket #288

    The example SVG file (when pointed at a local image) appears to render properly using a current build of GraphicsMagick (Ubuntu and Windows), so the <image> element must have been implemented sometime since this ticket was submitted. The degree to which this is a security risk is a separate issue. Thank you for your SVG example.

  • Gregory J Wolfe Gregory J Wolfe modified ticket #94

    incorrectly renders SVG

  • Gregory J Wolfe Gregory J Wolfe posted a comment on ticket #94

    This problem has been fixed by the following change set: changeset: 15585:b5ca60b382d6 tag: tip user: Greg Wolfe gregory.wolfe@kodakalaris.com date: Fri Apr 20 09:48:34 2018 -0400 summary: SVG: Process paths containing multiple subpaths correctly. Details: When a path contained multiple subpaths, only the first one was being handled correctly. For subsequent subpath starts, a test intended to eliminate duplicate points was incorrectly comparing the first point in the new subpath to the last point...

  • Bob Friesenhahn committed [9e190b]

    DecodeImage(): Fix use of uninitialized memory during error condition in decoder. (Credit to OSS-Fuzz)

  • bglyne bglyne posted a comment on ticket #558

    The fixed is confirmed, no longer ugly border when linking against GraphicsMagick-1.4.020180414 that can be downloaded from here. It works perfectly. Thanks. Have a nice day. :)

  • Bob Friesenhahn Bob Friesenhahn modified ticket #311

    Converting SVG to PNG/JPG: Not handling 'defs', 'use' correctly

  • Bob Friesenhahn Bob Friesenhahn modified ticket #30

    SVG: Dash-Array has no effect on Stroke with Gradient

  • Bob Friesenhahn Bob Friesenhahn modified ticket #49

    Annotate Stretch doesn't work

  • Bob Friesenhahn Bob Friesenhahn modified ticket #50

    Annotate Stroke doesn't work well

  • Bob Friesenhahn Bob Friesenhahn modified ticket #51

    Annotate weight doesn't work

  • Bob Friesenhahn Bob Friesenhahn modified ticket #94

    incorrectly renders SVG

  • Bob Friesenhahn Bob Friesenhahn modified ticket #288

    gm convert svg: Non-conforming drawing primitive definition (image).

  • Bob Friesenhahn Bob Friesenhahn modified ticket #315

    SVG to JPEG conversion does not render Google fonts

  • Bob Friesenhahn Bob Friesenhahn modified ticket #322

    Debian Bug #802872 "SVG to PNG conversion omits circles"

  • Gregory J Wolfe Gregory J Wolfe modified ticket #558

    Ugly stroke anti-alias

  • Bob Friesenhahn Bob Friesenhahn modified ticket #391

    strokeLineCap not work with strokePattern

  • Bob Friesenhahn Bob Friesenhahn modified ticket #421

    SVG to PNG fails with Non-conforming drawing primitive definition (path).

  • Bob Friesenhahn Bob Friesenhahn modified ticket #471

    Valid SVGfile not accepted by gm validate

  • Bob Friesenhahn Bob Friesenhahn modified ticket #558

    Ugly stroke anti-alias

  • Gregory J Wolfe Gregory J Wolfe modified a comment on ticket #558

    This problem was fixed by change set 87d618564d42, dated 2/22/18. I ran an SVG version of your test program using the attached SVG file GM#558.svg and your input image src.png. The "ugly stroke anti-alias" is not in the output. Thanks for a very complete and understandable statement of the problem, including the inputs and outputs of your test. The command to render the attached SVG file should be: gm convert -background "rgba(0,0,0,255)" GM#558.svg GM#558.png

  • Gregory J Wolfe Gregory J Wolfe posted a comment on ticket #558

    This problem was fixed by change set 87d618564d42, dated 2/22/18. I ran an SVG version of your test program using the attached SVG file GM#558.svg and your input image src.png. The "ugly stroke anti-alias" is not in the output. Thanks for a very complete and understandable statement of the problem, including the inputs and outputs of your test.

  • Bob Friesenhahn committed [cc0e8b]

    ReadTXTImage(): Assure that all image pixels are initialized to black.

  • Bob Friesenhahn committed [ae50a4]

    BlobToImage() error reporting improvements, and improved Magick++ tests for it.

  • Bob Friesenhahn Bob Friesenhahn posted a comment on ticket #558

    On Wed, 18 Apr 2018, bglyne wrote: When the stroke anti-alias is on and the background is 100% transparent, the border of the stroke is obviously supposed to be the gradient from the stroke color to transparency, but it is not in reality. The border is actually the gradient from stroke color to the (solid) background color as if the alpha channel was not there. On the other hand, if the background is not 100% transparent, say 99% transparent, the anti-alias gradient is correctly from the stroke color...

  • bglyne bglyne created ticket #558

    Ugly stroke anti-alias

  • Bob Friesenhahn Bob Friesenhahn posted a comment on ticket #557

    On Mon, 16 Apr 2018, valentine wrote: Please let me know if you need more examples of ICO files that cause to the problem. Thank you! Examples are always welcome. It is wise to bundle up files into a zip file and upload the zip file because SourceForge will re-write formats that it recognizes, losing the original issue. Bob

  • Valentine Rozental Valentine Rozental posted a comment on ticket #557

    Hi Bob, thank you for the answer! Meantime I tried different approach by extracting image binary data from the original ICO file and trying to construct an image using the constructor with Blob - the result was the same: ErrorCorruptImage: Magick: Unexpected end-of-file () reported by coders/dib.c:1002 (ReadDIBImage) Please let me know if you need more examples of ICO files that cause to the problem. Thank you! Valentine.

  • Bob Friesenhahn Bob Friesenhahn modified ticket #551

    Improper call to JPEG library in state 201

  • Bob Friesenhahn Bob Friesenhahn posted a comment on ticket #551

    This issue is fixed in the development sources and will appear in the next release.

  • Bob Friesenhahn Bob Friesenhahn modified ticket #550

    graphicsmagick cannot find decode delegates for any image format

  • Bob Friesenhahn Bob Friesenhahn posted a comment on ticket #550

    This was found to be an issue with Solus Linux packaging. The packaging was stripping the .la files which are still needed to load modules using libltdl.

  • Bob Friesenhahn Bob Friesenhahn posted a comment on ticket #557

    On Mon, 16 Apr 2018, valentine wrote: Has anyone run into the same problem? I have not had time yet to investigate this further. Due to ongoing "security" updates, readers are on a "hair trigger" such that any error detected while reading the image data (even just one byte) will result in an error report rather than returning a partially corrupt image. If the file is even one byte short (according to the decoder) there will be an error report. Bob

  • Valentine Rozental Valentine Rozental posted a comment on ticket #557

    Has anyone run into the same problem?

  • Bob Friesenhahn committed [3113ae]

    Magick++ demo/tests white-space cleanups

  • Bob Friesenhahn committed [6d35c3]

    ReadDPXImage(): Assure that CbCr layer initializes all channels if it is the first element of a planar DPX. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [9b8eb9]

    ReadPICTImage(): Don't refer to filename member of ImageInfo which was just destroyed. (Credit to OSS-Fuzz).

  • Bob Friesenhahn committed [416887]

    BMP: Try to reduce size warnings for Windows

  • Bob Friesenhahn committed [acaaa4]

    SVG: Fix size_t to int conversion warning under Windows. Also cleaned white space.

  • Bob Friesenhahn committed [74fbbd]

    Eliminate warnings in WIN64 build.

  • Bob Friesenhahn committed [bd9514]

    DIB: Undef BI_RLE8 to eliminate warning under Windows

  • Bob Friesenhahn committed [f4b748]

    ReadSGIImage(): Assure that iris pixels are fully initialized. (Credit to OSS-Fuzz).

  • Bob Friesenhahn committed [28e37e]

    ReadXCFImage(): Assure that canvas pixels are initialized to black. (Credit to OSS-Fuzz).

  • Bob Friesenhahn committed [53f01f]

    ReadPICTImage(): Properly initialize "black canvas" that tiles may be composed on. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [f1eead]

    pdb.c: Assure that file_size is always initialized

  • Bob Friesenhahn committed [ee8d6f]

    WritePDBImage(): Avoid use of uninitialized bytes. (Credit to OSS-Fuzz).

  • Bob Friesenhahn committed [fba81d]

    ReadRLEImage(): Check for EOF when reading comment. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [c7aaf4]

    ReadRLAImage(): Add many more validations, including scanline offsets and number of channels. (Credit to OSS-Fuzz).

  • Bob Friesenhahn committed [fcf88c]

    ReadTXTImage(): Implement missing subrange logic to read only the specified range of frames. (Credit to OSS-Fuzz).

  • Bob Friesenhahn committed [131d48]

    ReadFITSImage(): Verify FITS header before reading further.

  • Bob Friesenhahn committed [2b2549]

    Magick++ Image::read(): Set subrange = 1 since this interface is intended to read just one frame from the input file.

  • Jaroslav Fojtik Jaroslav Fojtik committed [d145f4]

    * coders/wpg.c Crash on row overflow fixed oss-fuzz 7639 thanks to oss-fuzz.

  • Gregory J Wolfe Gregory J Wolfe committed [3ec4e8]

    SVG: Implement SVG masks.

  • Bob Friesenhahn committed [ac92ec]

    Fix PerlMagick compilation problem due to rename/repurposing of image->clip_mask.

  • Bob Friesenhahn Bob Friesenhahn posted a comment on discussion Open Discussion

    On Thu, 12 Apr 2018, shoeb wrote: Hi Bob, Thanks for your quick response. I used "gm convert infile.jpg -profile SRGBSPAC.ICM outfile.jpg" command and result is below. https://cdnintegrationdesignerimages.azureedge.net/UserPhoto/08dc2937-40e6-4a55-9377-16d11c19755c/Photos/original/90265754987bf-be00-4eab-96bd-7c0d5c00392d.jpg I have attached source file name "input.jpg". Used profile is "sRGBProfile.icm" If the file does not already contain an embedded CMYK profile, then you will need to find one...

  • shoeb shoeb posted a comment on discussion Open Discussion

    Can I convert any image to 1 bit black and white png by useing "threshold" not monochrome. any command line example?

  • shoeb shoeb posted a comment on discussion Open Discussion

    Hi Bob, Thanks for your quick response. I used "gm convert infile.jpg -profile SRGBSPAC.ICM outfile.jpg" command and result is below. https://cdnintegrationdesignerimages.azureedge.net/UserPhoto/08dc2937-40e6-4a55-9377-16d11c19755c/Photos/original/90265754987bf-be00-4eab-96bd-7c0d5c00392d.jpg I have attached source file name "input.jpg". Used profile is "sRGBProfile.icm"

  • Valentine Rozental Valentine Rozental posted a comment on ticket #557

    The same code works for all attached ICO images on Debian 7 with 1.3.16 libraries: libgraphicsmagick++1-dev 1.3.16-1.1 libgraphicsmagick++3 1.3.16-1.1 libgraphicsmagick1-dev 1.3.16-1.1 libgraphicsmagick3 1.3.16-1.1 The favicon-image-1.ico is converted to PNG, but the quality is not good.

  • Valentine Rozental Valentine Rozental created ticket #557

    ErrorCorruptImage: Magick: Unexpected end-of-file () for some ico images

  • Bob Friesenhahn committed [2933dc]

    ReadDPXImage(): Add more header validations. Always assure that scanline is initialized for Luma channel. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [15f543]

    ReadPDBImage(): Add more EOF checks to avoid benign use of uninitialized data. (Credit to OSS-Fuzz)

  • Jaroslav Fojtik Jaroslav Fojtik committed [92ce78]

    * coders/wpg.c Stop reading when last row is reached. This should stop oss-fuzz 7528 thanks to oss-fuzz.

  • Bob Friesenhahn committed [51b231]

    WPG InsertRow(), UnpackWPGRaster(): x & y should be 'unsigned long'

  • Bob Friesenhahn committed [d92335]

    ReadPALMImage(): Eliminate signed/unsigned compare warning reported by GCC 3.4.3.

  • Gregory J Wolfe Gregory J Wolfe committed [b56b82]

    SVG: Restore previous behavior for non-SVG clippping paths (+ other).

  • Bob Friesenhahn committed [1694d9]

    ReadXCFImage(): Fix use of uninitialized data in magick header string for runt file. (Credit to OSS-Fuzz)

  • Bob Friesenhahn Bob Friesenhahn posted a comment on discussion Open Discussion

    On Tue, 10 Apr 2018, shoeb wrote: Is there any command in GM which can convert CMYK image to RGB image? Yes. At the most simple/crude level, you can do gm convert infile.jpg -colorspace rgb outfile.jpg but since there is no one definition of CMYK, it is best to use a CMS color profile which accurately describes the origin CMYK space and a CMS color profile which describes the target RGB space. If the origin color profile is already embedded in the image you can just provide the RGB profile for the...

  • shoeb shoeb posted a comment on discussion Open Discussion

    Hi, Is there any command in GM which can convert CMYK image to RGB image? Please help. Thanks

  • Bob Friesenhahn committed [ca4c9b]

    ReadPICTImage(): Copy tile exception info to main image and don't composite tile if it has a problem. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [6f579f]

    ReadDIBImage(): Decouple decode bits/pixel and encoded pixel packet size for compression=2. (Credit to OSS-Fuzz)

  • Jaroslav Fojtik Jaroslav Fojtik committed [002807]

    coders/mat.c allow logging in matlav V4 module.

  • Jaroslav Fojtik Jaroslav Fojtik committed [692cb6]

    Do not use C++ syntax in C code!

  • Jaroslav Fojtik Jaroslav Fojtik committed [a29973]

    coders/wpg.c - condition "if(y<1) continue;" is abundant and could be removed completely.

  • Jaroslav Fojtik Jaroslav Fojtik committed [4d80db]

    coders/mat.c The unread data contains crap in memory, erase current image data. This should mute oss-fuzz 6604.

  • Bob Friesenhahn committed [ad7a2e]

    ReadTIMImage(): Use DirectClass for other than depth of 4 or 8. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [3038ee]

    ReadDPXImage(): Assure that all channels are initialized for planar DPX. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [b29e34]

    WPG: UnpackWPGRaster() Fix uninitialized row 0 when row-based RLE is used. (Credit to OSS-Fuzz)

  • Bob Friesenhahn committed [7f69ab]

    WPG: Added more traces.

  • Bob Friesenhahn committed [d56810]

    Trace encoder return status

  • Bob Friesenhahn committed [3d88c5]

    Add more detailed tracing for BlobToImage()

  • Bob Friesenhahn committed [1a99b5]

    If reported blob length is 0, that counts as read failure.

  • Bob Friesenhahn committed [799768]

    PCD: Fixes to avoid double-free and memory leaks. (Credit to OSS-Fuzz)

1 >