Wednesday, March 27, 2013

Export Presentation to Image, Worksheet, PDF & Many Other File Formats

What's New in this Release?
Saaspose.Slides is a leading REST API that allows developers to create, modify and convert presentations in the cloud with ease. Developers can easily export presentations to many other file formats, such as images, worksheets, PDF files etc. Saaspose.Slides enables you to convert presentations to the supported file formats using convert controller resource.  You can get formatting information of a slide, replace text, convert presentations to other file formats, or you may choose to manage your slides. Saaspose.Slides offers a great experience of processing your presentations with simple and useful features that yield quality results. You can use Saaspose.Slides features on any cloud platform and it can work with various programming languages .NET, Java, PHP, Ruby, Python etc. Using Saaspose.Slides PHP SDK, you can convert presentations to the supported file formats, the quality and format of the converted document are retained. Using our SDK examples, you can convert PowerPoint presentations to other file formats like PDF, XPS, TIFF, SVG, HTML, PNG, JPEG, GIF, and BMP. We have SDK examples for various programming languages like .NET, PHP, Java and Ruby. It is simple and quick to get started with converting your presentations, you need to download the required SDKs and let Saaspose.Slides do the rest for you. You can refer to our documentation for a complete overview of Saaspose.Slides features and examples. We appreciate your feedback and suggestions to help us improve our services. Stay tuned to our blog and newsletter for more updates.
Overview: Saaspose.Slides
Saaspose.Slides is a REST based API that allows developers to read, write & modify a PowerPoint presentations in cloud. It is platform independent API & can be used by developers in web, desktop, mobile & cloud applications alike. It provides a rich set of features like creating presentation from scratch, modify various aspect of a presentation & converting a presentation to PDF, XPS, TIFF, SVG, HTML, PNG, JPEG, GIF & BMP formats. It helps you add, modify or extract text from the presentation.
More about Saaspose.Slides
Contact Information
Aspose Pty Ltd, Suite 163,
79 Longueville Road
Lane Cove, NSW, 2066
Australia
Saaspose - Your File Format Experts 2.0
sales@aspose.com
Phone: 1.214.329.1520
Fax: 866.810.9465

Tuesday, March 26, 2013

Add Text Replacements in PDF Files Using Java, .NET, Ruby & PHP

What's New in this Release?
Saaspose.PDF makes it easy for the developers to replace text on a particular page or in entire PDF document. Previously,  we have explain text replacement feature in detail and have also provided sample code for replacing text in multiple programming languages such as Java, .NET, Ruby and PHP. There are different types of text replacements in a PDF file such as replacing text in PDF files using a regular expression, replace text in a particular page, replace text in complete PDF document.  Saaspose.PDF is a REST API that can be run on any platform to perform multiple operations on a PDF file like you can create or edit PDF files and you can also convert PDF file to different formats like DOC, HTML, XPS, TIFF etc. You can also convert all of the elements of a PDF file like text, images, annotations, bookmarks, signatures, stamps and security features. Saaspose.PDF also offers many useful features such as text replacement, image replacement, text extraction and conversion to other file formats. Saaspose has now added these examples in SDKs for replacing text in a PDF file. These SDKs are available in java and PHP using which you can replace text in the whole PDF document. Getting started with Saaspose.Pdf is quite simple and quick, download the required SDKs and start converting your PDF document or perform any other operation mentioned above.
Overview: Saaspose.Pdf 
Saaspose.Pdf is a REST API to create, edit & manipulate PDF files. It also convert PDF file to DOC, DOCX, HTML, XPS, TIFF etc. You can create a new PDF either from scratch or from HTML, XML, template, database, XPS or an image. A PDF file can also be rendered to JPEG, PNG, GIF, BMP, TIFF and many other image formats. It works with any language like .NET, Java, PHP, Ruby, Python and many others. It is platform independent REST API & working with web, desktop, mobile or cloud applications alike.
More about Saaspose.Pdf
Contact Information
Aspose Pty Ltd, Suite 163,
79 Longueville Road
Lane Cove, NSW, 2066
Australia
Saaspose - Your File Format Experts 2.0
sales@aspose.com
Phone: 1.214.329.1520
Fax: 866.810.9465

Wednesday, March 13, 2013

Read & Recognize Barcode from Local Images in .NET Applications

This technical tip allows developers to read barcode from local image using Saaspose.BarCode REST API in your .NET applications. Some important steps for performing this task is to specify base product URI. This URI depends upon the version of the API you want to use in your application, build URI to upload file, enter app key and app SID, enter file name with full path, build remote URI to generate barcode, Sign remote URI, Send request and read barcode and Display the value and type of all the recognized barcodes.
Sample Code for Reading barcode from local image
//build URI to upload file
            string fileUploadUri = "http://api.saaspose.com/v1.0/storage/file/test.jpg";
            string UploadUrl = Sign(fileUploadUri);
            // Send request to upload file
            UploadFileBinary("c:\\temp\\test.jpg", UploadUrl, "PUT");
            //build URI to read barcode
            string strURI = "http://api.saaspose.com/v1.0/barcode/test.jpg/recognize?type=AllSupportedTypes";
            // Send the request to Saaspose server
            Stream responseStream = ProcessCommand(Sign(strURI), "GET");
            StreamReader reader = new StreamReader(responseStream);
            // Read the response
            string strJSON = reader.ReadToEnd();
            //Parse the json string to JObject
            JObject parsedJSON = JObject.Parse(strJSON);
            //Deserializes the JSON to a object.
            RecognitionResponse barcodeRecognitionResponse = JsonConvert.DeserializeObject<RecognitionResponse>(parsedJSON.ToString());
            // Display the value and type of all the recognized barcodes
            foreach (RecognizedBarCode barcode in barcodeRecognitionResponse.Barcodes)
            {
                Console.WriteLine("Codetext: " + barcode.BarCodeValue + "\nType: " + barcode.BarCodeType);
            }
                   \\Here is the RecognitionResponse class
                   public class RecognitionResponse : BaseResponse
                   {
               public List<RecognizedBarCode> Barcodes { get; set; }
                   }
                   \\Here is the RecognizedBarCode class             
                   public class RecognizedBarCode
                   {
               public string BarCodeType { get; set; }
               public string BarCodeValue { get; set; }
                   }
                   \\Here is the BaseResponse class        
                   public class BaseResponse
                   {
               public BaseResponse() { }
               public string Code { get; set; }
               public string Status { get; set; }
                   }
Overview: Saaspose.Barcode  
Saaspose.Barcode is a cloud based REST API that helps developers to generate new barcode images from scratch, recognize barcodes from images, specify barcode text attributes, set barcode image characteristics like width, height, border style, output format etc. Developers can create barcode using more than 40 symbologies like (1D) EAN13, EAN8, UPCA, UPCE barcode, MSI & Code11 (2D) like PDF417, DataMatrix, Aztec, QR, Italian Post 25 & postal types like Postnet, Planet, USPS OneCode & many more.
More about Saaspose.BarCode
Contact Information
Aspose Pty Ltd, Suite 163,
79 Longueville Road
Lane Cove, NSW, 2066
Australia
Saaspose - Your File Format Experts 2.0
sales@aspose.com
Phone: 1.214.329.1520
Fax: 866.810.9465

Monday, March 11, 2013

Search & Replace Text inside PDF Files in PHP Applications

This technical tip allows developers to replace text in a PDF file using Saaspose Pdf REST API in your PHP applications. Saaspose.Pdf also converts PDF file to DOC, DOCX, HTML, XPS, TIFF etc. You can create a new PDF either from scratch or from HTML, XML, template, database, XPS or an image.  Some important steps for performing this task are, enter App SID and App key, build URI, browse Pdf file, enter old text, enter new text, Build URI to replace text, Save PDF file on server, Sign remote URI, Send request and get status in the response, Specify remote URI to get replace text in PDF file and Save output stream to disk.
Sample Code for Replacing Text in a PDF File
$filePath = getcwd() . "\\Input\\MyFile.pdf";
    $fileName = basename($filePath);
    $oldText = "old text here";
    $newText = "new text here";
    //set application information
    $AppSID = "77**************";
    $AppKey = "89***********";
          
    //build URI
    echo "Uploading pdf file... <br/>";
    $strURIRequest = "http://api.saaspose.com/v1.0" . "/storage/file/" . $fileName;
    $signedURI = Sign($strURIRequest);
    uploadFileBinary($signedURI, $filePath);
    echo "Pdf file has been uploaded successully <br/>";
    echo "Replacing text...<br/>";
    //Build JSON to post
    $fieldsArray = array('OldValue'=>$oldText, 'NewValue'=>$newText, 'Regex'=>"false");
    $json = json_encode($fieldsArray);
    //Build URI to replace text
    $strURI = "http://api.saaspose.com/v1.0" . "/pdf/" . $fileName . "/replaceText";
    $signedURI = Sign($strURI);
    $responseStream = processCommand($signedURI, "POST", "json", $json);
    $v_output = ValidateOutput($responseStream);
    if ($v_output === "")
    {
       //Save PDF file on server
       //build URI
       $strURI = "http://api.saaspose.com/v1.0" . "/storage/file/" . $fileName;
       //sign URI
       $signedURI = Sign($strURI);
       $responseStream = processCommand($signedURI, "GET", "", "");
       $outputPath = getcwd() . "\\output\\" . $fileName;
       saveFile($responseStream, $outputPath);
       echo "The text has been replaced and Pdf file has saved at: " . $outputPath;
    }
    else
       return $v_output;
About Saaspose
SaaSpose is a cloud-based document generation, conversion and automation platform for developers. Using SaaSpose makes it easy for Web & Mobile Developers to work with Microsoft Word documents, Microsoft Excel spreadsheets, Microsoft PowerPoint presentations, Adobe PDFs, OpenDocument formats, and email formats and protocols in their Apps.  The SaaSpose REST API enables you to quickly integrate the following into your Web: Document Assembly & Mail-Merge, Reporting, Document Conversion, Text and Image Extraction, Device Targeting, Metadata Removal, Barcode Recognition, Generation & Embedding, Email Templating & Tracking. The REST API can be called from any platform: .NET, Java, Ruby, Salesforce, Amazon etc.
More about Saaspose.Pdf
Contact Information
Aspose Pty Ltd, Suite 163,
79 Longueville Road
Lane Cove, NSW, 2066
Australia
Saaspose - Your File Format Experts 2.0
sales@aspose.com
Phone: 1.214.329.1520
Fax: 866.810.9465

Tuesday, March 5, 2013

Get Set Remove Single or All Document Properties of PDF File in Cloud

Saaspose development team is very happy to announce the document properties management of PDF Files. PDF files are simple to create, easy to use and portable across any platform. Security is another major aspect that is offered by PDF files to protect the unwanted editing of documents. Saaspose.Pdf is a REST API that allows creating, editing and manipulating PDF files in the cloud. It offers a variety of features regarding various elements of a PDF file such as text, image, links, attachments, bookmarks, annotations, etc. Using Saaspose.Pdf REST examples in PHP, you can manage document properties of PDF files. This REST API allows to set a single document property of PDF file. You can get all properties of document or you may choose to get a specific property from documents. You can also remove all document properties or any single property of your PDF files using Saaspose.Pdf REST API. You can utilize our SDK and REST examples to manage document properties of PDF files in the cloud. It requires a simple step, download the required SDK from Github and incorporate the useful features into your application. Please refer to Saaspose.Pdf documentation for more information and details. Saaspose.Pdf provides simple solutions to work with document properties of a PDF file and eliminates the need of complex tasks involved in it. We offer a free development account for evaluation purposes, so you could try these features using PHP examples to manipulate your PDF files. Feel free to contact us in case of any queries or feedback regarding Saaspose APIs. Keep tuned in to our blog and newsletter for the latest updates and announcements.
About Saaspose
SaaSpose is a cloud-based document generation, conversion and automation platform for developers. Using SaaSpose makes it easy for Web & Mobile Developers to work with Microsoft Word documents, Microsoft Excel spreadsheets, Microsoft PowerPoint presentations, Adobe PDFs, OpenDocument formats, and email formats and protocols in their Apps.  The SaaSpose REST API enables you to quickly integrate the following into your Web: Document Assembly & Mail-Merge, Reporting, Document Conversion, Text and Image Extraction, Device Targeting, Metadata Removal, Barcode Recognition, Generation & Embedding, Email Templating & Tracking. The REST API can be called from any platform: .NET, Java, Ruby, Salesforce, Amazon etc.
More about Saaspose.Pdf
Contact Information
Aspose Pty Ltd, Suite 163,
79 Longueville Road
Lane Cove, NSW, 2066
Australia
Saaspose - Your File Format Experts 2.0
sales@aspose.com
Phone: 1.214.329.1520
Fax: 866.810.9465

Sunday, March 3, 2013

March 2013 Edition of Saaspose.Newsletter is Out Now

Saaspose Newsletter for March 2013 has now been published that highlights all newly added information, exciting new features & informative blogs about Saaspose APIs & SDKs. This month Saaspose.Words, Saaspose.Pdf & Saaspose.OCR have introduced new features for extracting text from images, protecting and unprotecting documents, convert presentations & manipulate MS Word documents, manipulate PDF Files in PHP, convert PDF files and manipulate presentations & many more.
Tip of the Month: Use Saaspose.SDK Demo Application for Android
WSaaspose has published a demo application for Android SDK. The sample project allows you to test Saaspose SDK in your Android applications quickly and easily. You can integrate this demo application in your applications and enjoy a whole new experience of document manipulation on your Android devices. This demo is composed of the features commonly used by other sections of the SDK and the features to work with Saaspose storage. Using Saaspose APIs, you can extract text from documents, calculate formula in worksheets, convert PDF to images, extract images and slides from presentations and perform many such operations on the documents in your Android applications. This adds great benefit for the Android developers as our SDKs enable them achieve the desired results through simple and efficient steps in no time. Stay tuned to our blog and newsletter for latest updates on Android SDKs and the release announcements.
Best of Saaspose API Blogs
Stay tuned with the recent updates, features and announcements of Saaspose APIs through Saaspose Blog.
Latest From the Documentation
During the month of February 2013, we have added many examples for various features of Saaspose file format APIs in our documentation. These examples have been added in Saaspose.Words, Saapose.Cells, Saaspose.OCR and Saaspose.Pdf. You can utilize these examples in PHP to incorporate features in your applications such as protect documents, get document properties, get image count, create PDFs from HTML templates etc. You may view a complete list of examples for each API in the following announcement posts:
Saaspose API SDK Updates
  During the month of February 2013, we have released a demo application for Android SDK. There is a list of features available for each API on Github and you can download the required SDK. For more details, you may refer to the following announcement about Saaspose REST API Features Implemented in SDKs During the Month of February 2013.
Collect your copy of Saaspose Newsletter, August 2012 edition
Keep in Touch
There are several ways for you to keep in touch with us. The monthly newsletter is a way for us to keep in touch with you, but we are always interested in hearing from you.
- Ask question from Saaspose Development Team
- Connect with us on Post a question on our Facebook
Contact Information
Aspose Pty Ltd, Suite 163,
79 Longueville Road
Lane Cove, NSW, 2066
Australia
Saaspose - Your File Format Experts 2.0
sales@aspose.com
Phone: 1.214.329.1520
Fax: 866.810.9465