Project

General

Profile

Actions

Feature #30492

closed

Replace RMagick with MiniMagick

Added by Go MAEDA almost 6 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Redmine uses ImageMagick via rmagick to generate thumbnails and gantt png export. I think it is beneficial to replace rmagick with minimagick for the following reasons:

  • Smaller footprint. The author says that the memory occupation is "much smaller compared to RMagick".
  • Supports the latest ImageMagick 7. rmagick does not yet.
  • Completely written in Ruby. Unlike rmagick, minimagick never causes build errors when installing the gem.

Files

30492-replace-with-minimagick.patch (17 KB) 30492-replace-with-minimagick.patch Yuichi HARADA, 2019-02-07 05:24
gantt_rmagick@2x.png (64.6 KB) gantt_rmagick@2x.png Yuichi HARADA, 2019-02-07 05:24
gantt_minimagick@2x.png (64.8 KB) gantt_minimagick@2x.png Yuichi HARADA, 2019-02-07 05:24
30492-v2.diff (59.6 KB) 30492-v2.diff Go MAEDA, 2019-08-13 10:52

Related issues

Related to Redmine - Feature #22995: Replace ImageMagick thumbnail creating with GD Graphics Library aka libgdNew

Actions
Related to Redmine - Patch #30821: Stay in RMagick 2.16.0 and don't update to 3.0.0ClosedGo MAEDA

Actions
Related to Redmine - Defect #34046: Escaping symbols in task subject can broke export to Gantt (PNG)Needs feedback

Actions
Related to Redmine - Defect #38728: Correctly escape issue text in Gantt PNG export for ImageMagick convertClosedGo MAEDA

Actions
Blocked by Redmine - Patch #31877: Update rbpdf (~> 1.20.0)ClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF