
Ouvrir un PDF dans un onglet Firefox Ouvrir un PDF dans un onglet Firefox S’il y a un truc que j'aime bien dans Chrome, c'est la possibilité d'ouvrir un PDF comme une page web. C'est à dire, directement dans un onglet sans devoir télécharger le PDF et lancer l'artillerie lourde, à savoir un lecteur de PDF. Mais depuis que je suis repassé sous Firefox, je n'ai plus cette possibilité. Bon, je sais qu'il existe tout un tas de plugins qui doivent permettra ça, et c'est juste dommage que nativement, Firefox ne propose pas un lecteur de PDF intégré. Mais ce n'est une question de temps, car c'est apparemment prévu sur la roadmap. Mais le truc cool, c'est que pour en profiter, pas besoin d'attendre une prochaine release de Firefox. À télécharger ici [Source] Vous avez aimé cet article ?
iScroll 4 Project info Last code update: 2012.07.14 – v4.2Device compatibility: iPhone/Ipod touch >=3.1.1, iPad >=3.2, Android >=1.6, Desktop Webkit, Firefox, Opera desktop/mobile.Discussion groupQR Code opens demo page. Support development If this script saved your day and you wish to support future developments you may consider sending some funds via PayPal or Flattr. Overview iScroll 4 is a complete rewrite of the original iScroll code. While latest Android revisions are supporting this functionality (although support is not optimal), Apple seems reluctant to add one finger scrolling to divs. In addition to all previous iScroll features, version 4 introduces: Pinch / ZoomPull up/down to refreshImproved speed and momentumSnap to elementCustomizable scrollbars Please note that iScroll 4 is not a drop-in replacement for iScroll 3. Also consider that the script is still in beta, and some APIs may slightly change. Getting started In the archive you’ll find plenty of examples to get you started. onLoad
brendandahl/pdf.js pdf.js reached its first milestone < Chris Pitchin' Hey Try out version 0.2. We’re very excited about the progress since the cat was let out of the bag two weeks ago. Below is a comparison of some pages as rendered by the version of pdf.js initially covered by the press and our v0.2 release. This is the most dramatic demonstration of pdf.js‘s biggest feature in 0.2: loading Type 1 fonts. Figure 2 on this page shows off several parts of pdf.js‘s renderer The very obvious improvement in the labels on elements in the figure in 0.2 is due to pdf.js loading TrueType fonts properly.The shadows under the rounded boxes are masked images, which Shaon implemented.The dashed lines are drawn using a new API we’ve added to Firefox’s <canvas> and are in the process of standardizing. Figure 4 is another dramatic demonstration of the difference made by loading Type 1 fonts and measuring them accurately. Community pdf.js has a great and growing community. More browsers/OSes, more problems We intend pdf.js to work in all HTML5-compliant browsers. What’s next?
Moment.js jsPDF - HTML5 PDF Generator | Parallax PDFs have become an essential element of document sharing. Our team recognised a significant challenge with generating these files and developed jsPDF, the ultimate solution for PDF generation. We took an innovative approach and made jsPDF open-source to encourage a collaborative community of developers to enhance its features and functionalities. With our easy-to-use application, you can create professional-looking PDFs in a matter of minutes, without the need for complex software or extensive training. Documentation Our documentation is generated from the source code, and we ensure it's up-to-date and comprehensive. Support While our open-source software doesn't come with free support, we offer competitive pricing for personalised project assistance.
PDF.js PDF.js is an HTML5-based Portable Document Format renderer. Project Manager: Bill Walker Developers: Artur Adib, Brendan Dahl Repository: IRC: #pdfjs on irc.mozilla.org Mailing list: dev-pdf-js Meeting Notes Meeting notes are now kept in etherpad and follow the format of Current work items Render PDF 1.7 spec perfectly (tracked by github issues) Analyze pdf.js's feature completeness across all PDFs gather large corpus of PDFs (unassigned) run pdf.js over all PDFs to collect data on missing and broken features (unassigned) prioritize missing features (unassigned) implement missing features (unknown work) Integrate code into Firefox/Gecko proper (as required) Tracking in-progress work We'll try to use github issues to track work. Like bugzilla, "issues" are used to track both bugs filed by users and specific work items for developers. Text looks bad in PDFs is an unspecific issue. Similarly, Implement fonts Testing Utils
Lena.JS pixel to pixel: grayscale sepia thresholding-128 invert saturation red green blue edge/line detection: roberts sharpen sobel y sobel x highpass laplacian gaussian prewitt y prewitt x Drag and drop filters hereremove all filters pdf.js: Rendering PDF with HTML5 and JavaScript | Andreas Gal Update: I updated the links again. pdf.js has moved to a new location on github. Why? While traveling to the Firefox 4 launch parties in Seoul and Taipei all the way from California, we killed a lot of time by brainstorming cool things to do with the web platform. Building an HTML5-based PDF renderer would also answer the question of whether the web platform and in particular canvas and SVG APIs are complete enough to efficiently and faithfully render PDFs. Displaying PDFs directly in the browser would definitely improve the user’s experience. External readers and plugins are also forced to reinvent their own user interaction paradigms, meaning for example that users might scroll HTML pages in one way with one set of heuristics in the browser, but a totally different way in an external PDF reader. It’s important to note that we’re not trying to promote PDF to a first-class web citizen like HTML5 is. Benefits Project Status If you want to see a demo of pdf.js, click on this link. Whats next?
Parallel.js Parallel Computing with Javascript Parallel.js is a tiny library for multi-core processing in Javascript. It was created to take full advantage of the ever-maturing web-workers API. Parallel.js solves that problem by giving you high level access to multicore processing using web workers. Unminified: parallel.js Minified (1490 Bytes gzipped): parallel.min.js Source: github Include parallel.js in your web projects like so: This will give you access to the global variable, Parallel. Parallel can also be included in node: $ npm install paralleljs var Parallel = require('paralleljs'); Parallel(data, opts) This is the constructor. The object returned by the Parallel constructor is meant to be chained, so you can produce a chain of operations on the provided data. Arguments data This is the data you wish to operate on. options (optional): Some options for your job evalPath (optional): This is the path to the file eval.js. Examples Let's construct an new Parallel.js job: spawn fn map A function to apply. reduce
Les PDF succombent à la tentation du HTML5 et du JavaScript, pdf.js : un projet de la fondation Mozilla Les navigateurs reposent à présent sur des plug-ins pour afficher les fichiers PDF, mais cela pourrait bientôt changer avec la révélation d'un nouveau projet de la fondation Mozilla. Ce projet en développement depuis quelques mois s'appelle « pdf.js ». Il substitue d'une manière encore perfectible, mais prometteuse, les rendu des plug-ins avec la balise <Canvas> (de dessin 2D en HTML5), pilotée par du JavaScript. Une démonstration disponible sur le site du contributeur principal du projet (le chercheur Andreas Gal) permet de parcourir les pages d'un fichier PDF d'exemple, riche en combinaisons de textes et d'illustrations, ou d'essayer avec son propre document. À présent, cette démonstration charge tous les fichiers du projet, cible et prépare manuellement l'affichage du PDF, mais son équipe affiche l’ambition de l'intégrer bientôt à Firefox en passant par la case d'extension, tout en stabilisant le produit. Décidément, JavaScript est partout, même là où on le soupçonnait le moins.
Numeral.js