[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-04-05 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

 CC||northon_patri...@yahoo.ca

--- Comment #16 from Nicolas Fella  ---
*** Bug 485065 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-30 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=484183

Bug Janitor Service  changed:

   What|Removed |Added

   Priority|HI  |VHI

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-30 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=484183

Antonio Rojas  changed:

   What|Removed |Added

 CC||thefeeltrain@thefeeltrain.c
   ||om

--- Comment #15 from Antonio Rojas  ---
*** Bug 484734 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-27 Thread Michał Dybczak
https://bugs.kde.org/show_bug.cgi?id=484183

Michał Dybczak  changed:

   What|Removed |Added

 CC||michal.dybc...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-24 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

 CC||djn...@gmail.com

--- Comment #14 from Nicolas Fella  ---
*** Bug 484374 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-22 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=484183

--- Comment #13 from Christoph Feck  ---
*** Bug 476884 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-22 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

--- Comment #12 from Nicolas Fella  ---
It doesn't matter how small or large the image is. The code allocates exactly
as much memory as it needs for the image, but while doing it it assumes that 32
bit/4bytes are needed per pixel.

See
https://invent.kde.org/frameworks/kio/-/blob/master/src/gui/previewjob.cpp?ref_type=heads#L802

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-22 Thread Junakreiter
https://bugs.kde.org/show_bug.cgi?id=484183

--- Comment #11 from Junakreiter  ---
Is it really a matter of memory ? 
I can save a 16 bit tiff with 290 kiB and still no thumbnail is created.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-22 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

   Version Fixed In||24.02.2

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-22 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/netw |https://invent.kde.org/netw
   |ork/kio-extras/-/commit/c16 |ork/kio-extras/-/commit/fe1
   |9a773cc55466417198847a9b632 |b4b23c38cbf5c37625ef43fd732
   |8df6cd4250  |e2afaf1084

--- Comment #10 from Nicolas Fella  ---
Git commit fe1b4b23c38cbf5c37625ef43fd732e2afaf1084 by Nicolas Fella.
Committed on 22/03/2024 at 11:00.
Pushed by nicolasfella into branch 'release/24.02'.

[thumbnail] Limit bits per pixel to 32

PreviewJob allocates shared memory for transferring the thumbnail data. There
it assumes max. 32 bits per pixel

Now when we load an image with 64 bpp we fail to send it because not enough
memory was allocated

To avoid this convert the image to a 32bit format if neccesary

For a small thumbnail we don't really need that much color bits anyway
(cherry picked from commit c169a773cc55466417198847a9b6328df6cd4250)

M  +2-1thumbnail/thumbnail.cpp

https://invent.kde.org/network/kio-extras/-/commit/fe1b4b23c38cbf5c37625ef43fd732e2afaf1084

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-22 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/netw
   ||ork/kio-extras/-/commit/c16
   ||9a773cc55466417198847a9b632
   ||8df6cd4250
 Status|ASSIGNED|RESOLVED

--- Comment #9 from Nicolas Fella  ---
Git commit c169a773cc55466417198847a9b6328df6cd4250 by Nicolas Fella.
Committed on 21/03/2024 at 19:51.
Pushed by nicolasfella into branch 'master'.

[thumbnail] Limit bits per pixel to 32

PreviewJob allocates shared memory for transferring the thumbnail data. There
it assumes max. 32 bits per pixel

Now when we load an image with 64 bpp we fail to send it because not enough
memory was allocated

To avoid this convert the image to a 32bit format if neccesary

For a small thumbnail we don't really need that much color bits anyway

M  +2-1thumbnail/thumbnail.cpp

https://invent.kde.org/network/kio-extras/-/commit/c169a773cc55466417198847a9b6328df6cd4250

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=484183

Bug Janitor Service  changed:

   What|Removed |Added

   Priority|NOR |HI

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=484183

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #8 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/network/kio-extras/-/merge_requests/341

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

--- Comment #7 from Nicolas Fella  ---
*** Bug 483561 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

 CC||traceyd...@yandex.com

--- Comment #6 from Nicolas Fella  ---
*** Bug 483380 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

 CC||bugreport...@mailna.me

--- Comment #4 from Nicolas Fella  ---
*** Bug 484180 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

 CC||a...@drehleier.net

--- Comment #5 from Nicolas Fella  ---
*** Bug 483867 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

--- Comment #3 from Nicolas Fella  ---
*** Bug 483560 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

--- Comment #2 from Nicolas Fella  ---
*** Bug 483536 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kio-extras] [Bug 484183] No thumbnails for images with more than 32 bits per pixel

2024-03-21 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=484183

Nicolas Fella  changed:

   What|Removed |Added

 CC||kdelo...@mozej.com

--- Comment #1 from Nicolas Fella  ---
*** Bug 483106 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.