| Age | Commit message (Collapse) | Author | Files | Lines |
|
When source_file is already in pStoreRow (e.g. called from a non-fisheye
context with reload_pdf set), re-extract the text layer without replacing
the stored file. Fisheye handles this via edit_image.php directly; this
branch covers other call sites.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
processor.imagick: ImagickPixel('none') explicit colour, add clear() to rotate
mime.pdf: fix dest_branch absolute path in regenerate case — strip STORAGE_PKG_PATH
and ensure trailing slash before passing to liberty_generate_thumbnails
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
flattenImages() -> mergeImageLayers(LAYERMETHOD_FLATTEN)
destroy() -> clear()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
yet set
mime_default_update/store don't set top-level source_file; mime_pdf_thumbnail
already handles the upload hash directly, so the guard just needs to also
trigger when upload is present.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
The extracted .txt file was left in the upload directory after
file_get_contents(). Added unlink() to remove it immediately.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
shell_exec('which magick') was dead since magick CLI was removed in
favour of the PHP imagick extension. Rewritten to use \Imagick directly
to rasterise the first page of a PDF to JPEG before passing to
liberty_generate_thumbnails. Thumbnail sizes now inherited from global
$gThumbSizes via liberty_generate_thumbnails rather than hardcoded.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
|
modifed build of pdf.js to work fully.
|
|
|
|
need option to load original.jpg or the proper file
|
|
flatmodel attachments storage. May need extra work with normal storage model.
|
|
|
|
|
|
stored file name. compute everything else when needed.
|
|
|
|
|
|
|