Tag: convert | Preview mode: Common | Row form

A utility tool - lets you batch convert PSD into JPG

Batch PSD to JPG is a free image batch converter that allows you batch convert Photoshop PSD images into JPG format. It can process multiple images at once, flattening multiple layers of PSD automatically, and allows you pre-define the quality of output JPG file. you can also do a batch resize and rename converted images.

Tags: PSD JPG batch convert

Categorize: Freeware | Link | Comment:0 | Read times: 124

Docx2Rtf is a freeware file converter that can convert .DOCX and .DOTX (Word 2007 MS Word formats) as well as SXW and .ODT (OpenOffice) into the universal .RTF format that can be read and edited by any Word Processor. It also offers the ability to convert documents to .PDF and can open, view, and print all the above mentioned formats as well as PalmOS Database Documents (*.PDF) and Aportis (*.PRC) files.

The recent release of MS Office 2007 brought in a number of file formats that do not open with older versions of MS Office or other word processing programs such as the OpenOffice Writer. Most of the time users of Office 2007 send out these files to colleagues and collaborators who only afterwards discover the incompatibility. It is possible to go around this simply by saving using the old .DOC format or, if you have an older version of Office, by using the Office 2007 Compatibility Pack that Microsoft released. A program like Docx2Rtf , however, gives you the ability to free a Word 2007 document from Office and convert it altogether to .RTF, which will allow you to use any word processor program to edit or work with. however, You may lose some formatting and or functionality in the process.

  • Converted elements: transfers text, most special characters and images (without effects). Bolded text transferred as such but italicized and underlined text did not. Tables (and Excel sheets) as well as numbered lists lost their formatting and their contents were simply listed in rows of text. Linked URLs not transferred.
  • User interface:  very nice user interface, converted pages are displayed as thumbnails on the left pane and the various settings on the main interface area.
  • Settings: include which pages to print (specify a range, odd, even, or all), convert to grayscale, save, and create a PDF.
  • No need install: just unzip and run.

 

Tags: Word 2007 Open office convert RTF

Categorize: Freeware | Link | Comment:0 | Read times: 296

I think this is a useful class for web application. just a simple example, you can encode a BitmapData object into Base64 string  by the encodeBase64 method and save it into database,  when you need to use the BitmapData, use the decodeBase64 method to decode Base64 string into BitmapData object.
 

package com.foxarc.images {  
 
    import flash.display.BitmapData;  
    import flash.geom.Rectangle;  
    import flash.utils.ByteArray;          
    import com.foxarc.util.Base64;  
      
    public class BitmapEncoder {  
          
        public static function encodeByteArray(data:BitmapData):ByteArray{  
            if(data == null){  
                throw new Error("data parameter can not be empty!");  
            }  
            var bytes:ByteArray = data.getPixels(data.rect);  
            bytes.writeShort(data.width);  
            bytes.writeShort(data.height);  
            bytes.writeBoolean(data.transparent);  
            bytes.compress();  
            return bytes;  
        }  
        public static function encodeBase64(data:BitmapData):String{  
            return Base64.encodeByteArray(encodeByteArray(data));  
        }  
          
        public static function decodeByteArray(bytes:ByteArray):BitmapData{  
            if(bytes == null){  
                throw new Error("bytes parameter can not be empty!");  
            }  
            bytes.uncompress();  
            if(bytes.length <  6){  
                throw new Error("bytes parameter is a invalid value");  
            }             
            bytes.position = bytes.length - 1;  
            var transparent:Boolean = bytes.readBoolean();  
            bytes.position = bytes.length - 3;  
            var height:int = bytes.readShort();  
            bytes.position = bytes.length - 5;  
            var width:int = bytes.readShort();  
            bytes.position = 0;  
            var datas:ByteArray = new ByteArray();            
            bytes.readBytes(datas,0,bytes.length - 5);  
            var bmp:BitmapData = new BitmapData(width,height,transparent,0);  
            bmp.setPixels(new Rectangle(0,0,width,height),datas);  
            return bmp;  
        }  
          
        public static function decodeBase64(data:String):BitmapData{              
            return decodeByteArray(Base64.decodeToByteArray(data));  
        }         
          
        public function BitmapEncoder() {  
            throw new Error("BitmapEncoder  is a static class!");  
        }  
          
    }  
      
}  

Tags: actionscript convert BitmapData ByteArray Base64

Categorize: Flash | Link | Comment:0 | Read times: 1032