Support for AMP HTML Email in Aspose.Email 19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn
aspose-email-for-android-via-java

We are pleased to announce the release of Aspose.Email for .NET and Java 19.10. As a standard practice, Aspose team publishes both .NET and Java based API having same features sets simultaneously. This release includes enhancements and bug fixes which improve the overall functionality of the API. It can now support AMP HTML Emails. For this purpose, AMP property has been introduced.

AMP HTML in Aspose.Email

Accelerated Mobile Pages are developer’s package from Google that help to develop a light-weight system with additional speedy masses. AMP is a web component framework and a website publishing technology made up of CSS, HTML, JavaScript developed by Google that help user to load web page more faster. AMP support many components like carousels, forms, images. Now by using this technology in Aspose.Email, user can download message more faster.

For more details visit here.

The similar Java based example for this is:

There’s many other features, enhancement, and bug fixes included in this release. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.

Posted in Aspose.Total Product Family | Leave a comment

Web Extensions – Office Add-ins Task Panes Supported by Aspose.Words for Java 19.11

Share on FacebookTweet about this on TwitterShare on LinkedIn

Its great pleasure to share that we have achieved another milestone by publishing new release of Aspose.Words for Java i.e. 19.11 that supports Harfbuzz Shaper plugin on Unix-based operating systems and will enable developers to work with Web Extensions, customize the formatting of the horizontal rule shape etc. Details of all the new features, enhancements and bugs resolution can be seen in the release notes. This latest release Aspose.Words for Java v19.11 can be downloaded from the download section. Let us have a brief look at the salient features of this exciting release.

Work with Web Extensions and Task Panes

Aspose.Words API provides the WebExtensions namespace that provides various classes to customize elements and attributes extending the XML vocabulary for representing Office Add-ins. You can now use Aspose.Words for Java to work with Task Panes in Office Add-ins and Web Extensions. For this purpose, it provides new TaskPane class, TaskPaneCollection class, TaskPaneDockState enumeration, Document.WebExtensionTaskPanes property etc.

The following code example demonstrates how to create task panes and add to web extension task panes with basic properties.

Customize Formatting of Horizontal Rule Shape

Aspose.Words for Java API now provides Shape.HorizontalRuleFormat property to access the properties of the horizontal rule shape. The HorizontalRuleFormat class exposes basic properties like Height, Color, NoShade etc. The following code example demonstrates how to set HorizontalRuleFormat to format a horizontal rule.

Macros Support Improved

Aspose.Words for Java API provides Dcoument.VbaProject property to get or set VbaProject in the document. The following code example demonstrates how to create a VBA project and VBA Module along with basic properties e.g. Name and Type.

See also Useful Links

Keeping the Aspose tradition, you are welcome to shape the upcoming releases of Aspose.Words for Java API by posting your suggestions and concerns in the Aspose.Words for Java Support Forum.

Posted in Aspose.Words Product Family | Leave a comment

AMP HTML Emails in Aspose.Email v19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

Recently, Google announced that AMP HTML email is now live. And now it is already supported by Aspose.Email. It was added in Aspose.Email for .NET 19.10 Release and you can already update your version to check out the advantages of AMP HTML emails support.

Use AMP HTML for emails

AMP (Accelerated Mobile Pages) is a developer’s package from Google that allows developing a lightweight system with more rapid loads. AMP is a framework made up of HTML, JavaScript and CSS, which are the standard to provide a user-first format for web content.
By using parts of Google’s AMP Project for email, we presently possess a plenty list of components to be used. The primary advantage of this approach is to increase message download speed, that is critical while working with users. So right now all customers of Aspose.Email can use AMP HTML to provide the same familiar messages but a little bit faster.

Find more about AMP HTML update.👈

HTML to Text conversion improvements

While working with HTML emails there is one typical task – HTML to Text conversion.
It’s a common case to send a plain-text version of your HTML email or collect it in text, but writing it from scratch can be tedious. Therefore, you can apply conversion functions of our library to avoid difficulties with that. This feature exists a lot of time, but now we have made some improvements, which will improve your user experience.

This release has provided more accurate HTML to Text conversion

Check the example here.👈

SMTP and IMAP servers access improvements

Using AMP HTML emails and Text is useful while working with emails, but sometimes you need to access SMTP and IMAP servers to process them. To do it, you should use OAuth. This approach is implemented frequently in modern applications, and it is supported by Aspose.Email for a long time.

There is no limit to perfection, so we are constantly improving features to improve user interaction with our library – EWS client now supports OAuth authentication. OAuth supports different ways for retrieving an access token, and Microsoft may change them. Therefore a customer may implement a simple interface of a token provider by himself to make the code more general-purpose.

Find more example here.👈

You can find more enhancements here Aspose.Email for .NET 19.10 Release Notes.

Posted in Aspose.Email Product Family | Leave a comment

Font Kerning and Emulation support in Aspose.HTML API

Share on FacebookTweet about this on TwitterShare on LinkedIn

You will be excited to know that Aspose.HTML API now supports Font Kerning. It will notably improve the quality of text rendering. In a nutshell, Kerning is the contextual adjustment of inter-glyph spacing. It is used to adjust the spacing between characters and is supported by many fonts. We have also implemented emulation of bold fonts which is useful in scenarios when some font is not available on a machine.

Moreover, we have improved the processing of HTML document modes which enables the document to work better in limited-quirks mode. Some other improvements pertaining to MHT and XPS rendering have also been made in this release. Image rendering is one of the most widely used feature of Aspose.HTML API. We have further improved image rendering by changing the behaviour of text rendering methods. Information about rendered characters is now utilized and each character’s position is determined to ensure correct rendering.

A more closer overview of this release can be found in Release Notes and working examples can be found in Example Project. We value and appreciate your feedback that helps us to keep improving the API, so your feedback and suggestions are welcome in Aspose.HTML forum.

Posted in Aspose.HTML Product Family | Leave a comment

Swiss QRCode support with Aspose.BarCode for .NET v19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

We are glad to roll out our latest release of Aspose.BarCode for .NET v19.10 having support for widely used Swiss QRCode. This new feature will make developers capable of developing applications to use it on bills, making digital payments, product packaging, railways, bike-sharing and even for buying bitcoins. Details of all the new exciting features can be found in the release notes containing a list of all the new added features, bugs resolution and public API changes which a developer should know for working with latest upgrades. So let us jump into this new release and see how these new features can be used.

Generate Swiss QR Code

One of the important usages of Swiss QR Code is to replace the previous payment slips. For this purpose, detailed information is required to trigger payments and process the QR invoice. Aspose.BarCode has provided all those necessary payment information by introducing new classes  SwissQRBill and  SwissQRCodetext which provide a large number of properties required to work with the Swiss QR Codes.

Here is a detailed example for generating the Swiss QR Code. To perform this activity you have to instantiate a  ComplexBarcodeGenerator instance and provide SwissQRCodetext containing all the necessary information for billing.

Following is the output Swiss QR Code generated with the above code sample:

You may visit the following link for this example and other details in the developers’ guide.

Generate Swiss QR Code

Reading the Swiss QR Code

As mentioned earlier, Swiss codes are widely used so reading is also implemented for a wide range of Swiss QR Codes. A new class ComplexCodetextReader is to be instantiated by setting the DecodeType.QR. Following is the sample code which reads a Swiss QR Code and displays the detail.

For more details visit here.

Read information from Columbia Id cards and driving license

For testing purpose, we tried our product on a few used Columbia Id cards and driving license. It was a success and all the information was read successfully however few enhancements were done to read the information without any error. As we know that Pdf417 is used in this case which is a stacked linear barcode format used in a variety of applications such as transport, identification cards, and inventory management. “PDF” stands for Portable Data File. The “417” signifies that each pattern in the code consists of 4 bars and spaces in a pattern that is 17 units (modules) long. We have made the following enhancements in this case:

  • Enhance restoration methods for blurred Pdf417 barcodes
  • Improve basic recognition quality
  • Avoid failures during image to text conversion
  • Investigation for a multithreaded framework for Zebra target detection

Enhancement to read the whole length of the barcode

There was an issue while reading whole length of the barcode as the whole text was not read and the partial text was returned by the API. A detailed investigation was done and observed that current wiped bar restoration works only for NBase and need changes which could be implemented for WBase based barcodes. Another problem is the absence of checksum in Code39 barcodes, which doesn’t allow to check if the result correct. All these issues were resolved and this issue was sorted out by enabling the wiped bars option.

Following sample code reads the whole length of the barcode.

Aspose.BarCode for .NET Resources

You can get started with Aspose.BarCode for .NET by making use of information available in the following:


Posted in Aspose.BarCode Product Family | Leave a comment

Work with Fonts using Aspose.Font for .NET

Share on FacebookTweet about this on TwitterShare on LinkedIn

TrueType font (TTF) indicates that font data is the same as in the TrueType fonts. CFF stands for the Type1 font format. Strictly speaking, it refers to the Compact Font Format, which is used in the compression processes. Dealing with such fonts programmatically i.e. Reading them and Getting their Statistics is an essential requirement while creating e-documents. Aspose is proudly going to release Aspose.Font for .NET to let programmers deal with fonts in their .NET applications. Aspose.Font is going to become a new member of Aspose APIs Family and with its introduction, the product catalog of Aspose will be extending elegantly. Let’s have a peek inside what this new API will be offering in its first release and when you will be able to use it in your applications.

Initial Features of Aspose.Font for .NET

The first release of Aspose.Font for .NET API will be compiled for the following .NET Frameworks:

  • 2.0
  • 3.5
  • 3.5 Client profile
  • 4.0
  • 4.0 Client profile

It will provide the capability to read fonts (TTF and CFF) as well as their statistics. You will be looking at a complete guide on how to use Aspose.Font for .NET in your applications with the help of full-fledged working code samples in C#.NET. The first version of the API would also offer a feature to draw simple text using desired colors with Aspose.Font API.

Availability of First Version

Dealing with Fonts and their glyphs to map dimensions and colors is not a trivial task and it definitely needs a significant amount of time to get it completed. Well, the good news is that API is on its final stage to get published with consolidated functionality. It is intended to be released at the end of this year (2019) or at the start of the year 2020. We encourage you to drop your inquiries about Aspose.Font in its support forum and don’t miss any new update by subscribing to our blog. We really hope to see you soon with the new update of the API.


Posted in Asad Ali, Aspose.Font Product Family | Leave a comment

Support of Web Extension and .NET Core 3.0 in Aspose.Words for .NET 19.11

Share on FacebookTweet about this on TwitterShare on LinkedIn

It is our pleasure to announce November release of Aspose.Words for .NET. We have included quite exciting features and enhancements in this release. Now, you can add Web extension elements in Word document, format the horizontal rule, and use Aspose.Words with .NET Core 3.0. let’s check out how to use newly introduced features.

Support of Web Extension Elements

Microsoft Office allows you to add more functionality through web extension. It extends Office applications and interact with the content in Office documents. Web Extension adds additional functionality to Office client to improve the user experience and productivity.

How to work with Web extensions using Aspose.Words? Well, it is not magic.

We have added Aspose.Words.WebExtensions namespace in this release to work with Web extensions. This namespace allows you to customize elements and attributes that extend the XML vocabulary for representing Office Add-ins. Please read following article about working with Web extensions.

Working with Web Extensions

Format Horizontal Rule

Adding horizontal line in MS Word document is sometime called horizontal rule. We have added new feature in this release to format the horizontal rule. In previous versions of Aspose.Words, you can add it using DocumentBuilder.InsertHorizontalRule method. However, formatting of horizontal rule was not supported. We have added Shape.HorizontalRuleFormat property and public class HorizontalRuleFormat in this release to format the horizontal rule. Now, you can set height, width, color, alignment, and 3D shading of it using this release of Aspose.Words. Following code example shows how to format horizontal rule.

Improved Macros Support

Aspose.Words already provides API to read and write the VBA Project. In this release, we have improved the macros support. Now, you can set the name of VBA project, read the VBA project’s code page, read and write VBA module name, add and remove VBA module. Following code example shows how to set properties of VbaProject and VbaModule classes.

Aspose.Words.MailMerging.MailMergeRtlCleanupMode was removed

We have removed obsolete enum Aspose.Words.MailMerging.MailMergeRtlCleanupMode from Aspose.Words’ API.

When time allows you can check Aspose.Words’ API reference guide, examples at Github, talk about this release and other API related issues in our forum.

We recommend you please check the release notes of Aspose.Words for .NET 19.11 for complete detail of API changes.

Posted in Aspose.Words Product Family | Leave a comment

Support for Font FallBack and Prompt Text using Aspose.Slides for C++

Share on FacebookTweet about this on TwitterShare on LinkedIn

Here comes new release of Aspose.Slides 19.10 for C++, which has been enriched with new features. Now, we offer support for Font FallBack and Prompt Text using Aspose.Slides.

Support For Font FallBack

A Font Fallback is a reserve type containing symbols for as several Unicode characters as doable. When a display system encounters a character that is not part of the repertoire of any of the other available fonts, a symbol from a fallback font is used instead. Normally, a fallback font style will contain images illustrative of the different sorts of Unicode characters. For this purpose a new method IFontFallBackRule has been added in Aspose.Slides for C++.

The following code example shows how to set font fall back using FontFallBackRule objects.

For more details visit here.

Set Prompt Text in a Placeholder

A Prompt Text is a content that shows up in a content field when it is first load however that disappears when a client begins composing into the content field. This is essentially for client straightforwardness to become more acquainted with what is to be entered in the chose field. We know that Standard and pre-built layouts contain placeholders with default text like Click to add a title or Click to add subtitle. Using Aspose.Slides you can add prompt text manually by accessing the default placeholders.

The code snippet below shows how to use this feature:

For more details visit here.

Wait, there’s many other features, enhancement, and bug fixes included in this release. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.

Posted in Aspose.Slides Product Family | Leave a comment

Convert Word Document to Multipage TIFF Image by using Aspose.Words for C++ 19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

Today, I will highlight the major features introduced in the Aspose.Words for C++ 19.10 release:

Save Word Document as MutiPage TIFF

One of the useful things you may need to do with your Word document (such as DOCX, DOC, RTF and many more) is a conversion to image file(s). For example if you have to present your Word document in a readable and printable but not editable format (e.g. for publication on the Web). One of the simple approaches you could use is a conversion to a multipage TIFF file. Please refer to the following article to learn how to convert a Word document to TIFF format by using Aspose.Words for C++:
Convert Word Document to Multipage TIFF Image

Convert an Image to PDF

It is now possible to create a PDF document from an Image by using Aspose.Words for C++ API. The code example mentionedin the following article shows how easy it is to do with Aspose.Words for C++. The code allows converting single-frame images, such as JPEG, PNG, BMP, EMF or WMF, as well as multi-frame TIFF images and GIF to PDF.
Convert an Image to PDF

Control Threshold for TIFF Binarization

The process of reducing the information contained within the grayscale image from 256 shades of grey to 2 which are black and white and converting it to the binary image is binarization. When a document is converted to TIFF file format, you can control the threshold for TIFF binarization by using the ImageSaveOptions.ThresholdForFloydSteinbergDithering property. The default value of this property is 128. The higher the value, the darker the image. The following code example shows how to use this property to Control Threshold for TIFF Binarization.

Save Image to One Bit per Pixel

The following code example demonstrates how to save the image to one bit per pixel by setting PixelFormat to Format1bppIndexed.

Encrypt DOC or DOT Files With Password

The DocSaveOptions class is used to specify additional options when saving a document into the DOC or DOT format. Using this class, you can set the password to an encrypted document and ignore RoutingSlip data while saving the document. The code example given below shows how to set the password to encrypt the document using RC4 encryption method.

Encrypt DOCX Files With Password

The OoXMLSaveOptions class provides an opportunity to save any document encrypted with the password. Using this class, you can set the password by using OoxmlSaveOptions.Password property while saving the document. The following code example demonstrates how to set the password and save the document to DOCX format.

Extract Content by using DocumentVisitor

You can now use the DocumentVisitor class to implement this usage scenario. This class corresponds to the well-known Visitor design pattern. With DocumentVisitor, you can define and execute custom operations that require enumeration over the document tree. For more details, please check:
How to Extract Content using DocumentVisitor

Get Font Line Spacing

The line spacing of a font is the vertical distance between the baselines of two consecutive lines of text. Thus, the line spacing includes the blank space between lines along with the height of the character itself. The LineSpacing property was introduced in the Font class to Obtain the Value of Font’s Line Spacing as shown in the example given below:

See Also Useful Links

The resources, you may need to accomplish your tasks:

Keeping the Aspose tradition, you are welcome to shape the upcoming releases of Aspose.Words for C++ API by posting your suggestions and concerns in the Aspose.Words for C++ support forum.

Posted in Aspose.Words Product Family | Leave a comment

Adjustment layer support for invert and color balance available in Aspose.PSD

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.PSD for .NET logoHello readers, let me share the the good news of release announcement for Aspose.PSD for .NET 19.10. We have introduced support for many new exciting features including Bicubic re-sampling for PSD, invert and color balance adjustment layer support and improvements in rendering PSD to PDF. In following section, I will be giving you an overview of new features introduced in API.

Implement Bicubic Re-sampling

Re-sampling means you ought to change the pixel dimensions of an image. When you down-sample, you are actually eliminating pixels and therefore deleting information and detail from your image. When you up-sample, you are adding pixels and enhancing details. Photoshop adds these pixels by using interpolation. In following example, we have demonstrated how you can perform the Bicubic Re-sampling by using Aspose.PSD for .NET.

Color Balance Adjustment Layer

The color balance adjustment layer gives you the ability to make adjustments to the coloring of their images. It presents the three color channels and their complementary colors and you can adjust the balance of these pairs to change the appearance of an image.

This article demonstrates the usage of Aspose.PSD for .NET to perform the Color Balance adjustment layer on an image.

Invert Adjustment Layer

An adjustment layer is a special kind of layer used mostly for color correction. Rather than having content of their own, they adjust the information on the layers below them. The Invert adjustment layer makes a photo negative effect by inverting the colors of an image.

This following example demonstrates how you can perform the Invert adjustment layer by using Aspose.PSD for .NET. 

PSD to PDF with Clipping Mask

A clipping mask allows you to apply a mask to multiple layers at once. In the following example, we have demonstrated the use of exporting PSD to PDF with clipping mask.feature.

You can check the official product release notes for many other issues and enhancement carried out in product as well. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.

Posted in Aspose.PSD Product Family | Leave a comment