Ah bah #Mozilla a aussi mis de l'IA générative dans PDF.js dans #Firefox pour générer automatiquement des textes alternatifs aux images.
Quand on ouvre un pdf, il y a une option Paramètres du texte alternatif des images (image alt text settings) qui ouvre une fenêtre modale dans laquelle un bouton Supprimer qui supprime le modèle et désactive la fonctionnalité du même coup.
On peut vérifier dans about:config que les deux chaînes correspondantes sont à false (pdfjs.enableAltTextModelDownload et pdfjs.enableGuessAltText).

#IAGen #IA #PDFjs

PDF output separation preview

Dear #GIMP #INKSCAPE #SCRIBUS #TEX #LATEX and #PDF #opensource and #freesoftware lovers...

Do you know any #foss / #floss application that can preview output separation on a PDF file like Adobe Acrobat pro does?

I have been tried hard, even using javascript with #pdfjs but I couldn't find something very suitable for doing #prepress with opensource.

I am also ok with any #web applications.

Thanks... 🙏

Tạo trình chuyển đổi PDF hoàn toàn trên trình duyệt (không lên tải tập tin)! Công cụ này sử dụng PDF.js để chuyển đổi Word/JPG sang PDF, gộp/compress. Ưu tiên bảo mật và UX. Các bạn có đề xuất tính năng nào khác?
#PDFConverter #WebTools #BảoMật #VanillaJS #PDFjs #ÝTưởngCôngNghệ #SideProject #FeedbackCầnThiết

https://www.reddit.com/r/SideProject/comments/1pomj1c/built_a_clientside_pdf_converter_no_file_upload/

 #LibreWolf's obsession with preventing everything HTML canvas is gettin on my nerves... It even ruins pasting images into the built-in #PDFjs PDF viewer, but you only realize that AFTER you're done and open it in another viewer, to realize that the image is all f*cked up. 🙄
Pour cette deuxième journée du hackathon de @FIPHFP et #DINUM, le projet #PDFJS de @mozillaofficial @firefox est un des sujets permettant de contribuer
https://www.numerique.gouv.fr/agenda/hackathon-sur-laccessibilite-numerique-captchas-et-pdf-pour-tous/
Hackathon sur l’accessibilité numérique : CAPTCHAs et PDF pour tous !

La Direction Interministérielle du Numérique (DINUM), en partenariat avec le service d’information du Gouvernement (SIG) et le Fonds pour l’Insertion des Personnes Handicapées dans la Fonction Publique (FIPHFP), vous invite à participer à un hackathon sur l’accessibilité numérique les 11 et 12 février 2025, à l’occasion du 20ème anniversaire de la loi du 11 février 2005 pour l’égalité des droits et des chances, la participation et la citoyenneté des personnes handicapées.

Thomas Rinsma decided to abuse PDF field objects to render monochrome grid, and combine it with keystroke-entry in a text field to receive inputs – that’s how #PDFTris, a playable Tetris in a PDF file was born.

https://gamedevjs.com/games/pdftris-play-tetris-in-a-pdf/

#gamedev #gamedevjs #pdf #tetris #pdfjs

PDFTris – play Tetris in a PDF - Gamedev.js

Thomas Rinsma decided to abuse PDF field objects to render monochrome grid, and combine it with keystroke-entry in a text field to receive inputs - that's how playable Tetris in a PDF file was born. You can read the blog post about the implementation details from the author himself - the display part is quite

Gamedev.js - Web Game Development community

It's ridiculous how good #PDFjs is as a PDF viewer and even editor. I do like #Evince et al., but man is PDF.js better in many cases (for me):

- Umlauts/special characters in forms just work
- PDF opens instantly from this Samba server, in Evince takes ages to load
- can paste images into PDF (e.g. for 'signing' 🙃)
- can place free text
- etc.

Feels like there should be a standalone PDF.js desktop app, but that'll just be a weird Electron app then I guess...

CVE-2024-4367 - Arbitrary JavaScript execution in PDF.js — Codean Labs

A vulnerability in PDF.js found by Codean Labs. PDF.js is a JavaScript-based PDF viewer maintained by Mozilla. This bug allows an attacker to execute arbitrary JavaScript code as soon as a malicious PDF file is opened. This affects all Firefox users (

Codean Labs
https://github.com/advisories/GHSA-wgrm-67xf-hhpq
PDF.js has isEvalSupported enabled by default.🤦
#pdfjs #mozilla #CVE_2024_4367
CVE-2024-4367 - GitHub Advisory Database

PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF

GitHub