[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #22 from Randy Nonenmacher --- This (https://gerrit.wikimedia.org/r/117809) still doesn't fix the problem for the files between ~12MP and 20MP that have this problem: https://commons.wikimedia.org/wiki/File:Abies_concolor_range_map_2.png https://commons.wikimedia.org/wiki/File:Acer_floridanum_range_map_1.png https://commons.wikimedia.org/wiki/File:Acer_grandidentatum_range_map_1.png https://commons.wikimedia.org/wiki/File:Aire_urbaine_Chamb%C3%A9ry_-_Savoie.png https://commons.wikimedia.org/wiki/File:Artemisia_tridentata_range_map_1.png https://commons.wikimedia.org/wiki/File:Austrian_Repressions_Against_Animal_Rights_Activists.png https://commons.wikimedia.org/wiki/File:Byrsonima_lucida_range_map_2.png https://commons.wikimedia.org/wiki/File:Cornus_rugosa_range_map_1.png https://commons.wikimedia.org/wiki/File:India_roadway_map.png : etc. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 Nemo changed: What|Removed |Added CC||federicol...@tiscali.it Blocks||41371 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #21 from Sam Reed (reedy) --- (In reply to Sam Reed (reedy) from comment #20) > https://gerrit.wikimedia.org/r/117809 makes Vips be used for over 20MP > images... Deployed -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #20 from Sam Reed (reedy) --- https://gerrit.wikimedia.org/r/117809 makes Vips be used for over 20MP images... -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #19 from Randy Nonenmacher --- (In reply to comment #11) > (In reply to comment #9) > > (In reply to comment #7) > > > I think the best solution would be to just start using VIPS for all png > > > images. > > > > Sounds like the best solution. > > Alternatively, we could introduce a new condition so that we can trigger > > VipsScaler on all indexed PNGs. > > I think it is not limited to indexed PNGs. Look @ > https://commons.wikimedia.org/wiki/File:World_population_density_1994.png > where > Imagemagick fails to generate larger PNG thumbs. I agree that it's not limited to indexed PNGs. I see the same problem with https://commons.wikimedia.org/wiki/File:First_colored_senator_and_reps.png and https://commons.wikimedia.org/wiki/File:Regla21.2.png which are 24-bit images (not indexed). -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 Bryan Tong Minh changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #18 from Bryan Tong Minh --- That's a rather complicated one, but we can trigger Vips on a certain minArea AND minShrinkFactor. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #17 from Randy Nonenmacher --- Would it be possible to switch to using Vips based on both the original image size and the desired thumbnail size? With the PNG-8 files that I've uploaded, I've found that the problem occurs consistently when: original_image_size + 29.85 * thumbnail_size > 41.8 (+/- 0.1) (Megapixels) -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #16 from Randy Nonenmacher --- (In reply to comment #15) > (In reply to comment #14) > > I've been seeing this problem with indexed PNG files that I've uploaded to > > wikimedia commons and have created the category: > > https://commons.wikimedia.org/wiki/Category:Images_that_will_not_render for > > the > > problem images. > > > > I created a table on the category page that shows that the maximum > > renderable > > thumbnail width is inversely related to the image size, but also depends on > > the > > aspect ratio. The problem starts with very large thumbnails (~1200px wide) > > for > > images around 10 Mpx in size, and stops somewhere between 33 and 36 Mpx for > > thumbnails around 600px wide. Images larger than that don't seem to have a > > problem. > > > > Anyway the table and images are there if anyone needs them to debug the > > problem. > > It should stop precisely at 35 mp. That's when we switch rendering programs It does. I cropped an image to 5916 × 5916, which made it 34.999 mp. and it would not render at widths greater than 477px. I re-cropped it to 5917 × 5917 and it rendered fine at 1,024 × 1,024 pixels. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #15 from Bawolff (Brian Wolff) --- (In reply to comment #14) > I've been seeing this problem with indexed PNG files that I've uploaded to > wikimedia commons and have created the category: > https://commons.wikimedia.org/wiki/Category:Images_that_will_not_render for > the > problem images. > > I created a table on the category page that shows that the maximum renderable > thumbnail width is inversely related to the image size, but also depends on > the > aspect ratio. The problem starts with very large thumbnails (~1200px wide) > for > images around 10 Mpx in size, and stops somewhere between 33 and 36 Mpx for > thumbnails around 600px wide. Images larger than that don't seem to have a > problem. > > Anyway the table and images are there if anyone needs them to debug the > problem. It should stop precisely at 35 mp. That's when we switch rendering programs -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 Randy Nonenmacher changed: What|Removed |Added CC||ranonenmac...@twcny.rr.com --- Comment #14 from Randy Nonenmacher --- I've been seeing this problem with indexed PNG files that I've uploaded to wikimedia commons and have created the category: https://commons.wikimedia.org/wiki/Category:Images_that_will_not_render for the problem images. I created a table on the category page that shows that the maximum renderable thumbnail width is inversely related to the image size, but also depends on the aspect ratio. The problem starts with very large thumbnails (~1200px wide) for images around 10 Mpx in size, and stops somewhere between 33 and 36 Mpx for thumbnails around 600px wide. Images larger than that don't seem to have a problem. Anyway the table and images are there if anyone needs them to debug the problem. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #13 from Marco --- It's only for the "larger" thumbs. E.g. https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/World_population_density_1994.png/1007px-World_population_density_1994.png fails. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 --- Comment #12 from Bawolff (Brian Wolff) --- (In reply to comment #11) > (In reply to comment #9) > > (In reply to comment #7) > > > I think the best solution would be to just start using VIPS for all png > > > images. > > > > Sounds like the best solution. > > Alternatively, we could introduce a new condition so that we can trigger > > VipsScaler on all indexed PNGs. > > I think it is not limited to indexed PNGs. Look @ > https://commons.wikimedia.org/wiki/File:World_population_density_1994.png > where > Imagemagick fails to generate larger PNG thumbs. Hmm? That file looks fine to me. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 54744] out of memory for large pngs near 35 MP
https://bugzilla.wikimedia.org/show_bug.cgi?id=54744 Marco changed: What|Removed |Added Summary|out of memory for large |out of memory for large |indexed pngs near 35 MP |pngs near 35 MP --- Comment #11 from Marco --- (In reply to comment #9) > (In reply to comment #7) > > I think the best solution would be to just start using VIPS for all png > > images. > > Sounds like the best solution. > Alternatively, we could introduce a new condition so that we can trigger > VipsScaler on all indexed PNGs. I think it is not limited to indexed PNGs. Look @ https://commons.wikimedia.org/wiki/File:World_population_density_1994.png where Imagemagick fails to generate larger PNG thumbs. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l