Skip to content
Snippets Groups Projects
  1. Jul 11, 2019
    • Odai Alali's avatar
      chore(release): 1.1.1 · 3e895e23
      Odai Alali authored
      v1.1.1
      3e895e23
    • Odai Alali's avatar
      Merge branch 'improved-image-rescale_hl' into 'master' · 05b91fac
      Odai Alali authored
      Improved image rescale
      
      See merge request dis/dis!58
      05b91fac
    • Henning Lorenz's avatar
      fix: enhance image rescale · b76b4e59
      Henning Lorenz authored
      this commit is a merge of 3 commts
      - resize to reduced image size (preview) based on image width is not meaningful for all image types. This change implements different resize (according to width or according to height) depending on the file type that is specified in the Files Upload form.
      - modify the resize function to do uniform resize to fit image into box of 1000 x 1000 pixels with preserved aspect ration, image quality jpeg 80%. Optional is resize according to height by minor change of code (see comments).
      - core diameter dependent resizing added
          1. save the original
          2. convert original to jpeg
          3. resize to fit into 1000 x 1000 pixels
              3.1 resize for CS and SS according to core diameter: CS is scaled according to the circumference of the core and SS according to the diameter, both at a resolution of 2 pixel/mm on core surface. This resolution should be sufficient for previewing.
      
      After some testing I came to the conclusion that jpeg 80 files are 5-9 times smaller than jpeg 100 files. The images are virtually indistinguishable even at overzoom. Thus, at present, jpeg quality is set to 80. It saves space on the testing system and will be sufficient also for most projects, but can be changed at any time.
      b76b4e59
    • Henning Lorenz's avatar
      fix: two missing database fields added in ArchiveFile.json · 2978ad17
      Henning Lorenz authored
      "Files Form" and "Files Upload" did not work after deletion of the original archive_files table (created by "yii seed") and re-creation of the table by the template manager (this procedure is necessary when project_ or core_ tables that need to be modified are blocked/referenced by archive_files FKs). The problem were missing "mime type" and "metadata" field descriptions in ArchiveFile.json. This commit adds the two missing fields and modifies some of the comments (on the basis of the original table).
      2978ad17
  2. Jul 08, 2019
  3. Jul 01, 2019
  4. Jun 21, 2019
  5. Jun 04, 2019
  6. May 29, 2019
  7. May 24, 2019
  8. May 23, 2019
  9. May 22, 2019
  10. May 20, 2019
  11. May 17, 2019
  12. May 16, 2019
  13. May 15, 2019
  14. May 14, 2019
Loading