• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Get PDF Page Count without Saving & Enhanced PDF to TIFF Conversion Using Java

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What’s new in this release?

We are pleased to announce the release of Aspose.Pdf for Java 10.1.0 . It provides some exciting features which are already supported in its sibling (Aspose.Pdf for .NET). Among these new features, the bugs reported in previous release are also resolved. Unless the PDF file is saved and all the elements are actually placed inside the PDF document, we cannot (because we cannot be certain about the number of get the page count for particular document pages in which all the elements will be accommodated). However starting with release Aspose.Pdf for Java 10.1.0, we have introduced a method named processParagraphs(…) which provides the feature to get page count for PDF document, without saving the file. So we can get page count information on the fly. Please try using following code snippet to accomplish this requirement. In every new release, we make some modifications in API and the modifications include changes in class names, change in method name, new overloads for existing method etc. These changes are made to correct any spelling mistakes, support new feature requests, removal of redundant features implementation etc. As well as the enhancements and features discussed above, there have been numerous fixes related to recently introduced PDF to TIFF and TIFF to PDF conversion, adding watermark/stamp objects, printing PDF documents, SVG to PDF conversion and much more. Some important improved features included in this release are given below

- Incorrect Rectangle values
- Evaluation watermark not appearing when printing PDF file
- PDF to JPEG - taking much time and memory
- PDF to TIFF - output is garbled
- Unable to modify FreeTextAnnotation in PDF
- Exception when trying to add watermark
- PdfFileMend - Image is not appearing in resultant PDF file
- Error when using setPrintable() method
- Memory leakage in document.save method
- PdfViewer: Print range of pages
- PdfViewer: Printing PDF document issue
- Line drawn using PdfContentEditor is missing in printout
- TIFF to PDF - Exception during conversion
- PDF to PNG - OutOfMemory Exception is being generated
- TIFF to PDF: pages are being rendered in blue color
- TIFF to PDF - Color of text is being changed in PDF
- Image to PDF: multipage Tiff image is not rendering completely
- Password prompt when viewing document
- aspose-pdf: Security.setUserPassword does not work after V 4.2.1
- save asks for "execute" permission
- SVG to PDF: Image won't be inserted

Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Pdf for Java documentation that may guide you briefly how to use Aspose.Pdf for performing different tasks like the followings.

- Get Page Count of PDF
- Split PDF File into Individual Pages

Overview: Aspose.Pdf for Java

Aspose.Pdf is a Java PDF component to create PDF documents without using Adobe Acrobat. It supports Floating box, PDF form field, PDF attachments, security, Foot note & end note, Multiple columns document, Table of Contents, List of Tables, Nested tables, Rich text format, images, hyperlinks, JavaScript, annotation, bookmarks, headers, footers and many more. Now you can create PDF by API, XML and XSL-FO files. It also enables you to converting HTML, XSL-FO and Excel files into PDF.

More about Aspose.Pdf for Java

- Homepage of Aspose.Pdf for Java
- Download Aspose.Pdf for Java
- Read online documentation of Aspose.Pdf for Java

Contact Information
Aspose Pty Ltd
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose – Your File Format APIs
Phone: 888.277.6734
Fax: 866.810.9465
    Bookmark Topic Watch Topic
  • New Topic