Ma JianEmail:[email protected]Published: 2009.09.22Update:2012.06.11The relevant content has been updated for the new progress of Pdftoy.1 Introduction2 theory3 implementationConversion of 3.1 MRC model3.1.1 Single layer DjVu3.1.2 3 Floor DjVu3.1.3 2-Layer DjVu (color text)3.2 Conversion of images3.2.1 JB2 Turn JBig23.2.2 IW44 turn JPEG 20003.2.3 JPEG vs. CCITT G4 Conversion3.3 Conversion of hidden text3.4 Conversion of the Directory3.5 Conversion of
Ma JianEmail:[email protected]Published: 2008.08.03Updated: 2008.08.24
Supplementary Note: This article is written earlier, when the PDG browser only supports pure PDG, does not support the file named PDG, which is actually djvu. Now Unicornviewer already support named PDG, real DjVu files, so for the bulk of the DjVu, most of the Pdgrenamer renamed as PDG,
Http://djvu.sourceforge.net/
Djvu is a Web-centric format and software platform for distributing documents and images. djvu can advantageously replace PDF, PS, Tiff, JPEG, and gif for distributing scanned documents, digital documents, or high-resolution pictures. djvu content downloads faster, displays and renders faster, looks nicer on a screen, and consume
After the djvu file is printed in PDF format, the images on each page are divided into many lines, so that the horizontal line (black) appears when printed with a printer ), you can convert the image to PNG before printing it.
Check whether a horizontal line (black) appears. If yes, it may also be printed.The solution is to print the file on another device instead of the Adobe PDF printer, such as office document image writer, and selectAdvanced: Se
file, copy the update_kpvbooklet_x.x_install.bin file to the root directory of the Kindle disk, and disconnect the USB. Use menu> Settings> menu> Update your Kindle to upgrade and install the tool. Do not use restart to install the tool.PS: update your Kindle is displayed in gray, probably because you have installed a specific version. You can create a file named duokan_disable under the root directory of the Kindle disk (that is: create a file and remove the suffix), restart the machine, and t
Aiseesoft PDF to Word Converter is a professional PDF converter that converts PDF files to Word documents in high quality, supports converting PDFs to DOC, DOCX, or RTF formats, and also supports batch conversions.Aiseesoft PDF to Word Converter can convert a generic text PDF to a Word document, or a scanned or picture PDF, with a powerful OCR document recognitio
Epub to PDF Converter is an easy-to-use ebook converter that converts a document in epub format into a PDF file for all types of reading devices.Epubor epub2pdf Converter Software has built-in transformation configurations for many reading devices, including Amazon (Kindle), Apple (Ipad/iphone), Nook, Kobo, Sony eReader, etc. You can also customize the output dev
Struts2 registers a local converter and a local Converter
To implement a custom converter, You need to inherit the defatypetypeconverter class or the StrutsTypeConverter class from the objects to be converted, and obtain the entry of a type converter to implement the developer's own type
There is a field in the action that is of the birthday or date type. When we pass the value, it must be written as to automatically convert the type, however, in some cases, you may need to write 19990101 so that automatic type conversion is not performed by default. In this way, you can write a custom type converter to achieve conversion.
Struts2 has two types of converters:
Partial: it applies to an action conversion type.
First, you need to customi
Custom type converter Convert, converter convert
// Specify a type converter (convert String to Date) ConvertUtils. register (new Converter () {@ Override public Object convert (Class clazz, Object value) {// convert string to date SimpleDateFormat format = new SimpleDateFormat ("yyyy-MM-dd"); Date parse = null; try {p
Typeconverter class. The description in msdn provides a unified method to convert the value type to other types, as well as access standard values and sub-attributes.Let's take a look at the example to translate a string into a type converter with a point structure.Public class pointconverter: typeconverter {Public override bool canconvertfrom (itypedescriptorcontext context, type sourcetype ){If (sourcetype = typeof (string) {return true ;}Return bas
pageMv.addobject ("datamsg", Ex.getmessage ()); returnMV; } @RequestMapping ("/first") //The type conversion work must be performed before the actual handler method executes. PublicString Dofirst (Date birthday,intAgethrowsException {System.out.println ("222222222222222222222"); System.out.println (Birthday+ "==========="); System.out.println ( Age+ "==============="); return"/index.jsp"; }}4. MapperXmlns:xsi= "Http://www.w3.org/2001/XMLSchema-instance"Xmlns:context= "Http://www.springfr
TCP transmission: Use the socket service to implement a text converter, socket Text Converter
Reprinted please indicate the source, thank you: http://blog.csdn.net/harryweasley/article/details/45665291
I recently read a teaching video and learned socket programming. There is an example in which I feel that it is well written. I will organize it here to help me recall and view it.
Requirement: Text
; requestmappinghandlermappingAnnotationmethodhandleradapter-> RequestmappinghandleradapterAnnotationmethodhandlerexceptionresolver-> ExceptionhandlerexceptionresolverAll of the above are automatically registered after using the Annotation-driven.and the corresponding respectively provided abstracthandlermethodmapping, Abstracthandlermethodadapter and Abstracthandlermethodexceptionresolver to make it easier for users to implement custom implementation classes.
Spring MVC
Java code
As can
object to a string in some way.
To achieve these transformations, there is a magician in Struts 2.0 who can help you--converter. With it, you don't have to repeat this code over and over again:
Date birthday = dateformat.getinstance (dateformat.short). Parse (strdate);
OK, now let's take a look at an example.
Converters--hello World
At the end of my last article, "Internationalizing in Struts 2.0 (i18n) Your application," I gave an example tha
A type converter is a more important element in implementing a custom server control property. In this paper, the basic concepts and implementation methods of type converters are introduced.1. type converter Basic ConceptsA type converter is an accessible feature implementation of a custom server control. It is primarily used to perform bidirectional conversions
can be installed on a physical or virtual machine Converter Standalone. the Converter Standalone server,Converter Standalone agent, and Converter Standalone client can be installed locally . If you install Converter Standalone in local mode , you can create and manage conver
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.