Comments (12)
I can push up a PR, applying this patch if needed 👍
from camerarawpreviews.
@Jordan-Work Feel free to contribute. Make sure the code is readable and does not break any thing. Especially for users that do not have imagick extension installed.
from camerarawpreviews.
@Jordan-Work @Litr-tm @Webbeh https://github.com/ariselseng/camerarawpreviews/releases/tag/v0.8.0
Care to test this tarball before I put it on the nextcloud app store?
from camerarawpreviews.
@ariselseng Works well. No errors/warnings reported
from camerarawpreviews.
Released in the nextcloud app store.
from camerarawpreviews.
What exactly does that patch do? Maybe I'm just understanding it wrong, but HEIC previews are generated natively in Nextcloud for some time now if enabling the "HEIC" preview provider, also see this old issue here: #22
from camerarawpreviews.
@justsomescripts As far I know, the heic support was dropped from nextcloud recently. Do you have working heic support on latest nextcloud?
from camerarawpreviews.
@justsomescripts As far I know, the heic support was dropped from nextcloud recently. Do you have working heic support on latest nextcloud?
Couldn't find anything that implies that it's been deprecated. I'm running NC 24.0.4 and have HEIC previews without problems. Running the TrueCharts version on TrueNAS Scale, but as far as I can tell there are no modifications to preview generation there (besides previewgenerator being installed by default) so it should also work on a standard setup. Config for reference:
<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-redis',
'password' => '****************************',
'port' => 6379,
),
'trusted_proxies' =>
array (
0 => '172.16.0.0/16',
1 => '127.0.0.1',
),
'passwordsalt' => '***********************',
'secret' => '******************',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'test.fakedomain.dns',
2 => 'localhost',
3 => '127.0.0.1',
4 => '127.0.0.1:10020',
5 => '192.168.178.14',
6 => 'nextcloud-nextcloud',
7 => 'nextcloud-nextcloud-backend',
8 => '****************',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '24.0.4.1',
'overwrite.cli.url' => 'http://localhost',
'dbname' => 'nextcloud',
'dbhost' => 'nextcloud-postgresql',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '***********************',
'installed' => true,
'instanceid' => '******',
'preview_imaginary_url' => 'http://127.0.0.1:9090',
'preview_max_x' => '4096',
'preview_max_y' => '4096',
'preview_max_memory' => '512',
'preview_max_filesize_image' => '150',
'default_phone_region' => '**',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => '************',
'mail_domain' => '**********',
'mail_smtpauthtype' => 'PLAIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.mailbox.org',
'mail_smtpport' => '465',
'mail_smtpname' => '*****************',
'mail_smtppassword' => '*****************',
'maintenance' => false,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Imaginary',
1 => 'OC\\Preview\\PNG',
2 => 'OC\\Preview\\JPEG',
3 => 'OC\\Preview\\GIF',
4 => 'OC\\Preview\\HEIC',
5 => 'OC\\Preview\\Movie',
),
);
Note that I have Imaginary enabled which also generates HEIC previews, but tried without and that worked fine too.
from camerarawpreviews.
@Litr-tm Can you comment on this? If there is actual support for heic on latest nextcloud I will definitely drop this from this app.
from camerarawpreviews.
@ariselseng sorry to comment on this again, but is a removal (or config parameter) planned? Still getting lots of unnecessary errors because of this which makes the app unusable for me and probably others as well.
The preview provider 'OC\Preview\HEIC'
is available by default so no need for support by this app.
Should I open a new issue?
from camerarawpreviews.
@ariselseng sorry to comment on this again, but is a removal (or config parameter) planned? Still getting lots of unnecessary errors because of this which makes the app unusable for me and probably others as well.
The preview provider'OC\Preview\HEIC'
is available by default so no need for support by this app.Should I open a new issue?
Please open a new issue, or even better a PR that removes it. If HEIC really is supported by Nextcloud now then it certainly should be removed from this app.
from camerarawpreviews.
Here you go @ariselseng
Please note that I'm not a PHP dev, but the changes looked pretty straightforward so I'm sure this works out.
from camerarawpreviews.
Related Issues (20)
- Nikon Raw HOT 1
- [camerarawpreviews] Fout: Exception: Unable to find preview data: HOT 1
- Cannot open raw file in NC 28 HOT 5
- All DNG files without embedded previews result in ERRORS in the logfile. HOT 2
- Server version 28 or lower is required. HOT 1
- 0.8.5 update seems to break preview on Nextcloud 28 HOT 7
- RAW Previews Icons Working but when clicking Downloading Image Instead of Showing Large Preview HOT 1
- No CR3 Previews HOT 2
- Thumbs generate but previews don't HOT 11
- [suggestion] Support for CR3-Files HOT 3
- Doesn't work on Ubuntu 20.04 with php7.4 HOT 3
- Raw preview problem HOT 6
- Support of .CR3 HOT 1
- Add support for Imaginary HOT 10
- Support for NextCloud 27.0 HOT 3
- dng preview does not working HOT 9
- No CR3 previews HOT 1
- Compatibility with S3 as Data Backend HOT 15
- Add Support for Canon CR3 files HOT 1
- CR3 Raw file from Canon is loop loading and never shown HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from camerarawpreviews.