The Wayback Machine - https://web.archive.org/web/20240909184359/https://www.geeksforgeeks.org/djvu-compression-in-computer-network/
Open In App

DjVu Compression in Computer Network

Last Updated : 06 Jul, 2022
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Majority of the image compression techniques are usually associated with type of image. Enterprises or individuals who are interested to share high resolution documents in public domain require an effective lossy compression technique that can provide high rate of compression. Normally such documents are viewed in a web browser. To support display of such high resolution document in a web browser, the compression technique used should have fast decoding rate. DjVu is an option for such compression requirement. 

In order to read DjVu files in a web browser, a decoder is implemented in the form of plug-in that is compatible with all available standard web browsers. It is pretty much easy to zoom and pan a file with image with the help of this decoder. A user can see the initial version of a file very quickly and the quality of the file gradually improves when more bits arrives, Because of this, the DjVu compression technique is considered to be progressive in nature. 

The DjVu techniques make use of the fact that various elements of a scanned file, such as text, images, and drawings, possess different perceptual characteristics. Digitized text and line drawings can be coded at high spatial resolution and little color resolution whereas high color resolution and at lower spatial resolution is required for images and backgrounds. Text usually requires one color but images and drawings requires more than one colour. 

DjVu Compression Rate : 
DjVu offers a compression factor up to 1000. This level of compression is 5 to 10 times superior compared to similar compression techniques available. For example, full color pages scanned at 300 dpi can be compressed from 25 Mb to 30-60Kb without compromising quality. The color documents having image and text compressed using DjVu method are mostly 5 to 10 times smaller when compared to JPEG files of similar quality and black-and-white documents compressed using DjVu method are mostly 10–20 times smaller when compared to JPEG files and five times smaller when compared to GIF files. Similarly files compressed using DjVu technique is about 5 times smaller compared to PDF files. 

 

DjVu Components : 
In DjVu compression technique, the document is decomposed into three components and they are mask, foreground, and background. The pixels that represent the image and the paper background are categorized as background component. The text and the lines in bi-level form are considered as mask component. The three components are decoded by the decoder. After that, the resolution of the background and foreground components is increased back to 300 dpi, and this will generate final decompressed image pixel based on the mask. A mask pixel value 0 implies the respective image pixel is decoded from the background. Similarly a mask pixel value of 1 implies the respective image pixel is created in the color of the foreground pixel.
 



Similar Reads

Difference between Lossy Compression and Lossless Compression
Compression techniques are essential for efficient data storage and transmission. There are two forms of compression: lossless and lossy. Understanding the differences between these strategies is critical for selecting the best solution depending on the unique requirements of various applications. In this article, we will discuss the differences be
4 min read
Why Star network is More Efficient in Network Fault Tolerance in Place of Bus Network?
Answer: Star networks offer better fault tolerance than bus networks because a single point of failure in a star network (the central hub) affects only the connected device, while a fault in a bus network can disrupt communication for all devices on the bus.Advantages of Star Topology Over Bus Topology Individual Connection Points: In a star networ
2 min read
Basic Network Attacks in Computer Network
Many people rely on the Internet for many of their professional, social and personal activities. But there are also people who attempt to damage our Internet-connected computers, violate our privacy and render inoperable the Internet services. Given the frequency and variety of existing attacks as well as the threat of new and more destructive futu
7 min read
How to Find Network IP Address of Computer Using Computer Name?
Answer: By using the command "ping" followed by the computer name in the command prompt or terminal.To find the network IP address of a computer using its computer name: Open Command Prompt or Terminal Begin by opening the Command Prompt (Windows) or Terminal (macOS/Linux) on your computer. Use the Ping Command Type "ping" followed by the computer
1 min read
Data Compression With Arithmetic Coding
Content removed on request. Please see Computer Network for more computer network articles.
1 min read
Compression of IPv6 address
IPv6 address is short form of IP address version 6. It is basically a 128 bit address. In IPv6 address, hexadecimal notation is preferred. There are total 8 fields in IPv6 hexadecimal notation and each field consists of 16 bits. Hence, total bits are 8 x 16 = 128 Rules for compression: There are basically three rules for compression: Rule-1: When o
1 min read
Difference between Inter and Intra Frame Compression
In Compression, we reduce the size of our data to achieve high efficiency and easy storage. It is quite cumbersome to transfer files having large size so we need to compress it. Compressed file takes less time for data transmission and reduce the cost of storage. Compression Ratio = B1 / B2 where, B1 = Total Numbers of bits required to represent da
2 min read
Introduction to Data Compression
In this article, we will discuss the overview of Data Compression and will discuss its method illustration, and also will cover the overview part entropy. Let's discuss it one by one. Overview :One important area of research is data compression. It deals with the art and science of storing information in a compact form. One would have noticed that
2 min read
Difference Between Data Encryption and Data Compression
Data compression and data encryption are two important methods of protecting and managing data. While both of these processes can help protect your data, they work in different ways. In this article, we’ll discuss the key differences between data encryption and data compression, and explain how each can help you protect your data. What is Data Encr
4 min read
PGP - Compression
Everyday, more than 250 billion Emails are being exchanged over the Internet. A series of processings are involved for the transmission of an email from a sender to a recipient. The data about an email (typically about sender, receiver and domain) and of course the message ,has to be processed by the systems and servers involved in the transmission
3 min read
LZW (Lempel–Ziv–Welch) Compression technique
Why do we need a Compression Algorithm? There are two categories of compression techniques, lossy and lossless. Whilst each uses different techniques to compress files, both have the same aim: To look for duplicate data in the graphic (GIF for LZW) and use a much more compact data representation. Lossless compression reduces bits by identifying and
9 min read
Difference between Storage Area Network (SAN) and Network Attached Storage (NAS)
Storage Area Network (SAN) is used for transferring the data between the servers and the storage devices' fiber channels and switches. In SAN (Storage Area Network), data is identified by disk block. Protocols that are used in SAN are SCSI (Small Computer System Interface), SATA (Serial Advanced Technology Attachment), etc. Components of Storage Ar
2 min read
Differences between Wireless Adhoc Network and Wireless Sensor Network
1. Wireless Adhoc Network: A wireless ad-hoc network is a wireless network deployed without any framework or infrastructure. This incorporates wireless mesh networks, mobile ad-hoc networks, and vehicular ad-hoc networks. Its history could be traced back to the Defense Advanced Research Project Agency (DARPA) and Packet Radio Networks (PRNET) which
3 min read
Difference between Next Generation Network and Traditional Network
1. Next Generation Network : In short Next Generation Network is termed as NGN which is packet based network used for both telephony and data. It uses multiple broadband and Quality of Services (QoS) enabled transport technologies to establish advance communication system. NGN can handle multiple type of services/traffic such as voice, audio, video
5 min read
Difference between Network Administrator and Network Engineer
1. Network Administrator :A network administrator is a someone in an organization whose job is to manage organization's computer network. They also do jobs like on-site server organization , software networking and also placing the network in there correct position which is also called as Network Integrity. Those are the main thing in their job to
3 min read
Difference Between Network Security and Network Administration
In the world of information technology, there are two important and distinct roles that are often confused: network security and network administration. While these two jobs may be closely related, they require different sets of skills and responsibilities. It’s significant to understand the differences between network security and network administ
5 min read
Difference Between Network Management and Network Monitoring
Pre-requisites: Areas of Network Management Network management and Network monitoring are two important functions in maintaining the performance and security of a network. While they are often used interchangeably, they are distinct concepts with different goals and methods. Network management refers to the process of controlling, configuring, and
3 min read
Difference Between Network Congestion and Network Latency
Network congestion refers to a situation in which a network experiences an excessive amount of traffic, resulting in a reduction of available bandwidth and increased delays for network users. This can occur in both wired and wireless networks and can have a significant impact on the performance and reliability of the network. Congestion can occur d
9 min read
How Does a Network Topology Affect Your Decision in Setting up a Network?
Answer: Different Network Topology offer different costs, security, reliability, etc. So we choose one of the network topology as a blueprint for setting up our network according to the features that we required.By Network Topology we get to know how different nodes are connected in the network. There are different types of network topology like Bu
2 min read
How does a Network Interface Card (NIC) Facilitate Connectivity in a Wired Network?
Answer: A network interface card (NIC) facilitates connectivity in a wired network by providing an interface between the physical layer which provides the physical connection with the cables and the data link layer which provides reliable communication channel. The NIC converts the digital data into electrical data so that it can be transferred usi
2 min read
Difference Between Network Topology and Network Protocols
Network Topology and Network Protocols are closely related but distinct concepts in the field of computer networking. Network Topology refers to the physical and logical arrangement of devices on a network, while Network Protocols refer to the rules and standards that govern the communication between devices on a network. Understanding the differen
5 min read
Difference between Software Defined Network and Traditional Network
Whenever it comes to networks, new trends keep on adding up and thus it becomes essential to know about the dissimilarities that SDN Networks and Traditional Networks possess. Given the ever-increasing need for the expansion, fault tolerance, and resource optimization of the networks that connect today’s business environments, organizations, and IT
7 min read
MAC Filtering in Computer Network
There are two kinds of network Adapters. A wired adapter allows us to set up a connection to a modem or router via Ethernet in a computer whereas a wireless adapter identifies and connects to remote hot spots. Each adapter has a distinct label known as a MAC address which recognizes and authenticates the computer. Mac address is shown in the format
10 min read
DHCP Relay Agent in Computer Network
Prerequisite - Dynamic Host Configuration Protocol (DHCP), How DHCP server dynamically assigns IP address to a host? To assign an IP address to the host dynamically, the DHCP client exchanges DHCP messages with the DHCP server in the DORA process. In the DORA process, the discover and request message is broadcast, the offer and the acknowledgement
6 min read
Redundant Link problems in Computer Network
Basically, redundant links are used to prevent nasty network failure. These are used to provide redundancy, i.e back up when a link fails, i.e a frame can be forwarded out through another path but it can cause problems also. Here are some of these problems: Broadcast Storm - A switch forwards out the broadcast frame, generated by another device, to
4 min read
Port Security in Computer Network
Attackers' task is comparatively very easy when they can enter the network they want to attack. Ethernet LANs are very much vulnerable to attack as the switch ports are open to use by default. Various attacks such as Dos attack at layer 2, address spoofing can take place. If the administrator has control over the network then obviously the network
3 min read
EtherChannel in Computer Network
EtherChannel is a port link aggregation technology in which multiple physical port links are grouped into one logical link. It is used to provide high-speed links and redundancy. A maximum of 8 links can be aggregated to form a single logical link. EtherChannel, also known as Link Aggregation Control Protocol (LACP), is a technique used in computer
5 min read
Bit Stuffing in Computer Network
The data link layer is responsible for something called Framing, which is the division of stream of bits from network layer into manageable units (called frames). Frames could be of fixed size or variable size. In variable-size framing, we need a way to define the end of the frame and the beginning of the next frame. Bit stuffing is the insertion o
2 min read
Computer Network | AAA (Authentication, Authorization and Accounting)
The administrator can take access to a router or a device through a console but it is very inconvenient if he is sitting far from the place of that device. So, eventually, he has to take remote access to that device. But as remote access will be available by using an IP address, therefore, it is possible that an unauthorized user can take access us
4 min read
Types of MANET in Computer Network
Prerequisite - MANET: Mobile Ad hoc Network MANET stands for Mobile ad hoc Network also called as wireless ad hoc network or ad hoc wireless network. They consist of a set of mobile nodes connected wirelessly in a self-configured, self-healing network without having a fixed infrastructure. MANET nodes are free to move randomly as the network topolo
12 min read