SlideShare une entreprise Scribd logo
1  sur  37
Télécharger pour lire hors ligne
“A Vernacular of File Formats and Extra Files”
Kim Asendorf (DE) and Rosa Menkman (NL)
Lossless data compression is a class of data compression algorithms
that allows the exact original data to be reconstructed from the compressed data.
"lossy" compression is a data encoding method which compresses data by
discarding (losing) some of it.
Define Your Terms(or: Kanye West Fucked Up My Show)
A raster image ( vs. vector images and stereo images) is a data structure generally
represented by a rectangular grid of pixels (or a bitmap).
Technically, a bitmap is characterized by a certain amount of pixels defining the
images width and height AND the amount of bits per pixel that defines the images
color depth.
Gamut: the possible different color representations.
When an image has a relatively low color depth, the stored color value is typically a
number represented within an index of a color map or palette.
Define Your Terms(or: Kanye West Fucked Up My Show)
Image glitching:
Imagebending (reversible) vs databending (irreversible)?
Define Your Terms(or: Kanye West Fucked Up My Show)
8bits = 1byte
A binary file = a sequence of bytes.
a binary file often also contains formatting information.
compiled it can for instance form a program, or any other kind of file format.
A hex editor (0xED) can be used to view file data as a sequence of hexadecimal
(or decimal, binary or ASCII character) values
for corresponding bytes of a binary file.
If a binary file is opened in a text editor, each group of eight bits will typically be
translated as a single character, and you will see a (probably unintelligible) display
of textual characters.
If the file is opened in some other application, that application will have its own use
for each byte: maybe the application will treat each byte as a number and output a
stream of numbers between 0 and 255 — or maybe interpret the numbers in the
bytes as colors and display the corresponding picture.
Define Your Terms(or: Kanye West Fucked Up My Show)
Header: the data placed at the beginning of a block of data (in this case the image)
being stored or transmitted.
interleaved vs non-interleaved
The interleaved raw format stores its RGB data
rgbrgbrgbrgbrgbrgbrgbrgbrgb
A planar (non-interleaved) format stores its data:
rrrrrrrrrgggggggggbbbbbbbbb
Photoshop RAW
flat binary (header = 0)
Photoshop RAW
flat binary (header = 0)
A channel is the grayscale image of the same size as a color image, made of just
one of these primary colors. For instance, an image from a standard digital camera
will have a red, green and blue channel. A grayscale image has just one channel.
Wordpad effect pietjepuk666 & Stallio:
(open as unicode - mac os Roman) does at least two things to a binary file.
“I've found that Wordpad does at least two things to a binary file; it replaces byte
07 (ascii: BEEP) with 20 - a space - , and it replaces every lonely 0A or 0D (line
feed - end of line - and carriage return - new line of text - respectively) and also
0B (vertical tab) with the bytes "0D 0A". So the rate of glitching is probably
dependent on how dark the picture is, since low bytes like these give dark pixels (i
suppose).
in short: everytime it adds one byte.”
BMP
BMP is an uncompressed file format.
imagebending vs databending
BMP (16)
BMP (32)
GIF
(8bit color depth, interlaced - 2f replaced for c0)
Graphics Interchange Format is a bitmap image format that supports 8 bits per pixel
and can thus consist of no more then 256 colors.
The format supports animation.
Dither (the grainy blocky artifacts) is an intentionally applied form of noise used to
“randomize quantization error”; the difference between the actual analog value and
quantized digital value. This error is caused by truncation (the discarding of less
significant information).
Dither thus helps to prevent from large-scale patterns such as "banding" (stepwise
rendering of smooth gradations in brightness or hue). Moreover, the not available
colors are approximated because the human eye perceives the diffusion as a mixture
of the colors. This creates the illusion of color depth.
GIF
(8bit color depth, interlaced - 2f replaced for c0)
The gif format uses a 4 pass one dimensional interlacing strategy. This means that
one half of the image, consisting of every other row of pixels is rendered after the
other half. In the image on the left this shows through a gradual displacement during
weaving (the putting together of the two layers), which resulted in a second “ghost
image” (or combing artifacts with jagged edges).
GIF
(1bit color depth)
GIF
(1bit color depth, non-interlaced - 2f replaced for c0)
GIF
(1bit color depth, interlaced)
PNG
(8bit color depth, interlaced - 2f replaced for c0)
PNG is a bitmapped image format that employs lossless data compression and
offers a 7-pass 2-dimensional interlacing scheme—the Adam7 algorithm.
This is more sophisticated than GIF's 1-dimensional, 4-pass scheme, and often
allows for a clearer low-resolution image to be visible earlier in the transfer. This is
visible in image 1 which just passed its first stage of the 7 part interlacing scheme.
In this stage a part of the image is rendered almost flawless, while the further it gets
rendered, the more the corrupted data becomes visible.
PNG
(24 bits)
PSD
A JPG compression consists of 6 subsequent steps:
1. Color space transformation
2. Downsampling
3. Block splitting
4. Discrete cosine transform
5. Quantization
6. Entropy coding
LOSSY: JPG
1. Initially, images have to be transformed from the RGB color space to
another color space (called Y′CbCr), Here the Y refers to the luma or
brightness and the Cb and Cr values stand for the chroma or color
values for the blue and the red channel.
2. Because the human eye doesn’t perceives small differences within the
Cb and Cr space very well, these elements are downsampled.
3. After the color space transformation, the image is split into tiles or
macroblocks. Rectangular regions of the image that are transformed and
encoded separately.
4. Next, a Discrete Cosine Transform (which works similar to the Fourier
Transform function, exploited in datamoshing and macroblock studies) is
used to create a frequency spectrum, to transform the
8×8 blocks to a combination of the 64 two-dimensional DCT basis
functions or patterns (as differentiated by the red lines).
5. During the Quantization step, the highest brightness-frequency
variations become a base line (or 0-value), while small positive and
negative frequency differentiations get a value, which take many fewer
bits to represent.
Because the RGB color values are described in such
a complex algorithms, some random data replacement often results into
dramatic discoloration and other effects.
The very high compression ratio of this jpg effects the quality of the image
and the size of the artifacts.
When using quantization with block-based coding, as in these JPEG-
compressed images, several types of
often unwanted artifacts can appear, for instance ringing or ghosting. In the
bend image to the left, the low quality and corruption have made these
artifacts more apparent.
6. finally, entropy coding is applied. Entropy coding is a special form of
lossless data compression that involves arranging the image components in a
"zigzag" order. This allows the quantized coefficient table to be rewritten in a
zigzag order to a sequence of frequencies.
A run-length encoding (RLE) algorithm groups similar frequencies together and
after that, via "Huffman coding" organizes what is left.
While sequential encoding (or baseline) encodes coefficients of a single block
at a time (in a zigzag manner), progressive encoding encodes similar-
positioned coefficients of all blocks in one go, followed by the next
positioned coefficients of all blocks, and so on.
JPG
(progressive)
JPG
(Baseline standard)
JPG
(baseline optimized)
The JPEG 2000 standard was mainly developed because of the many
edge and blocking artifacts of the JPG format. JPEG 2000 has
“improved scalability and edit-ability”.
In JPG 2000, after the color transformation step, the image is split into
so-called tiles, rectangular regions of the image that are transformed and
encoded separately.
Tiles can be any size, and it is also possible to consider the whole
image as one single tile. This results into a collection of sub-bands
which represent several approximation scales.
JPG 2000
TARGA
The gif format uses a 4 pass one dimensional interlacing strategy. This means that
one half of the image, consisting of every other row of pixels is rendered after the
other half. In the image on the left this shows through a gradual displacement during
weaving (the putting together of the two layers), which resulted in a second “ghost
image” (or combing artifacts with jagged edges).
TARGA
(C replaced for F5)
TIFF
(ZIP, Interleaved - m substituted for r)
EXTRAFILE
USPEC
4BC
MCF
CCI
BASCII
BLINX

Contenu connexe

Tendances

Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
Malik obeisat
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
Saideep
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
Ayaelshiwi
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformations
Yahya Alkhaldi
 

Tendances (20)

COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
COM2304: Intensity Transformation and Spatial Filtering – I (Intensity Transf...
 
Digital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domainDigital Image Processing_ ch2 enhancement spatial-domain
Digital Image Processing_ ch2 enhancement spatial-domain
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
Image enhancement ppt nal2
Image enhancement ppt nal2Image enhancement ppt nal2
Image enhancement ppt nal2
 
Digital image processing using matlab: basic transformations, filters and ope...
Digital image processing using matlab: basic transformations, filters and ope...Digital image processing using matlab: basic transformations, filters and ope...
Digital image processing using matlab: basic transformations, filters and ope...
 
Image Enhancement in Spatial Domain
Image Enhancement in Spatial DomainImage Enhancement in Spatial Domain
Image Enhancement in Spatial Domain
 
Image Enhancement
Image Enhancement Image Enhancement
Image Enhancement
 
04 image enhancement in spatial domain DIP
04 image enhancement in spatial domain DIP04 image enhancement in spatial domain DIP
04 image enhancement in spatial domain DIP
 
Point processing
Point processingPoint processing
Point processing
 
Multimedia communication jpeg
Multimedia communication jpegMultimedia communication jpeg
Multimedia communication jpeg
 
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...
COM2304: Intensity Transformation and Spatial Filtering – III Spatial Filters...
 
Jpeg
JpegJpeg
Jpeg
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Image enhancement in the spatial domain1
Image enhancement in the spatial domain1Image enhancement in the spatial domain1
Image enhancement in the spatial domain1
 
6.frequency domain image_processing
6.frequency domain image_processing6.frequency domain image_processing
6.frequency domain image_processing
 
Image enhancement techniques
Image enhancement techniquesImage enhancement techniques
Image enhancement techniques
 
Image enhancement
Image enhancementImage enhancement
Image enhancement
 
JPEG
JPEGJPEG
JPEG
 
4.intensity transformations
4.intensity transformations4.intensity transformations
4.intensity transformations
 

Similaire à //STEIM Workshop: A Vernacular of File Formats

Compression using JPEG
Compression using JPEGCompression using JPEG
Compression using JPEG
Sabih Hasan
 
image compression in data compression
image compression in data compressionimage compression in data compression
image compression in data compression
Zaabir Ali
 

Similaire à //STEIM Workshop: A Vernacular of File Formats (20)

Image stegnography and steganalysis
Image stegnography and steganalysisImage stegnography and steganalysis
Image stegnography and steganalysis
 
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
nullcon 2010 - Steganography & Stegananalysis: A Technical & Psychological Pe...
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdf
 
Lecture 2-2023.pdf
Lecture 2-2023.pdfLecture 2-2023.pdf
Lecture 2-2023.pdf
 
Multimedia Object - Image
Multimedia Object - ImageMultimedia Object - Image
Multimedia Object - Image
 
Image compression and jpeg
Image compression and jpegImage compression and jpeg
Image compression and jpeg
 
Multimedia graphics and image data representation
Multimedia graphics and image data representationMultimedia graphics and image data representation
Multimedia graphics and image data representation
 
Image compression Algorithms
Image compression AlgorithmsImage compression Algorithms
Image compression Algorithms
 
Multimedia digital images
 Multimedia  digital images Multimedia  digital images
Multimedia digital images
 
Dip
DipDip
Dip
 
Himadeep
HimadeepHimadeep
Himadeep
 
Compression ii
Compression iiCompression ii
Compression ii
 
Unit i mm_chap3_graphics and image data representation
Unit i mm_chap3_graphics and image data representationUnit i mm_chap3_graphics and image data representation
Unit i mm_chap3_graphics and image data representation
 
Image compression
Image compressionImage compression
Image compression
 
JPEG
JPEGJPEG
JPEG
 
Image processing with matlab
Image processing with matlabImage processing with matlab
Image processing with matlab
 
Compression using JPEG
Compression using JPEGCompression using JPEG
Compression using JPEG
 
Unit ii
Unit iiUnit ii
Unit ii
 
image compression in data compression
image compression in data compressionimage compression in data compression
image compression in data compression
 
Graphics pipelining
Graphics pipeliningGraphics pipelining
Graphics pipelining
 

Plus de Rosa ɯǝukɯɐn

Interview for mexican creditcard magazin 'club credomatic'
Interview for mexican creditcard magazin 'club credomatic'Interview for mexican creditcard magazin 'club credomatic'
Interview for mexican creditcard magazin 'club credomatic'
Rosa ɯǝukɯɐn
 
Filtering Failure exhibition catalogue
Filtering Failure exhibition catalogueFiltering Failure exhibition catalogue
Filtering Failure exhibition catalogue
Rosa ɯǝukɯɐn
 
Catalogue of tipping point of failure exhibition by rosa menkman
Catalogue of tipping point of failure exhibition by rosa menkmanCatalogue of tipping point of failure exhibition by rosa menkman
Catalogue of tipping point of failure exhibition by rosa menkman
Rosa ɯǝukɯɐn
 

Plus de Rosa ɯǝukɯɐn (20)

Becoming Fog: Tactical Media, Spam and Obfuscation Seminar, Winter Semester K...
Becoming Fog: Tactical Media, Spam and Obfuscation Seminar, Winter Semester K...Becoming Fog: Tactical Media, Spam and Obfuscation Seminar, Winter Semester K...
Becoming Fog: Tactical Media, Spam and Obfuscation Seminar, Winter Semester K...
 
KhK winter semester 2018: Screenology block
KhK winter semester 2018: Screenology blockKhK winter semester 2018: Screenology block
KhK winter semester 2018: Screenology block
 
Rosa menkman portfolio
Rosa menkman portfolioRosa menkman portfolio
Rosa menkman portfolio
 
Rosa menkman portfolio
Rosa menkman portfolioRosa menkman portfolio
Rosa menkman portfolio
 
Behind White Shadows
Behind White ShadowsBehind White Shadows
Behind White Shadows
 
One day in Trondheim
One day in Trondheim One day in Trondheim
One day in Trondheim
 
The institutions of Resolution Disputes [iRD]
The institutions of Resolution Disputes [iRD]The institutions of Resolution Disputes [iRD]
The institutions of Resolution Disputes [iRD]
 
Kanye West color channel de-sync effect
Kanye West color channel de-sync effectKanye West color channel de-sync effect
Kanye West color channel de-sync effect
 
VIRTUEEL PLATFORM / GLITCH GEBRUIKT TECHNISCH FALEN ALS RUIMTE VOOR CREATIE
VIRTUEEL PLATFORM / GLITCH GEBRUIKT TECHNISCH FALEN ALS RUIMTE VOOR CREATIEVIRTUEEL PLATFORM / GLITCH GEBRUIKT TECHNISCH FALEN ALS RUIMTE VOOR CREATIE
VIRTUEEL PLATFORM / GLITCH GEBRUIKT TECHNISCH FALEN ALS RUIMTE VOOR CREATIE
 
Gli.tc/h 2112 zine
Gli.tc/h 2112 zineGli.tc/h 2112 zine
Gli.tc/h 2112 zine
 
Interview for mexican creditcard magazin 'club credomatic'
Interview for mexican creditcard magazin 'club credomatic'Interview for mexican creditcard magazin 'club credomatic'
Interview for mexican creditcard magazin 'club credomatic'
 
Gli.tc:h 20111 program
Gli.tc:h 20111 programGli.tc:h 20111 program
Gli.tc:h 20111 program
 
Filtering Failure exhibition catalogue
Filtering Failure exhibition catalogueFiltering Failure exhibition catalogue
Filtering Failure exhibition catalogue
 
Filtering failure
Filtering failureFiltering failure
Filtering failure
 
Order and Progress
Order and ProgressOrder and Progress
Order and Progress
 
Order and progress
Order and progressOrder and progress
Order and progress
 
Catalogue of tipping point of failure exhibition by rosa menkman
Catalogue of tipping point of failure exhibition by rosa menkmanCatalogue of tipping point of failure exhibition by rosa menkman
Catalogue of tipping point of failure exhibition by rosa menkman
 
H booklet
H bookletH booklet
H booklet
 
Gene siskel
Gene siskelGene siskel
Gene siskel
 
Gene Siskel Presentation
Gene Siskel PresentationGene Siskel Presentation
Gene Siskel Presentation
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

//STEIM Workshop: A Vernacular of File Formats

  • 1. “A Vernacular of File Formats and Extra Files” Kim Asendorf (DE) and Rosa Menkman (NL)
  • 2. Lossless data compression is a class of data compression algorithms that allows the exact original data to be reconstructed from the compressed data. "lossy" compression is a data encoding method which compresses data by discarding (losing) some of it. Define Your Terms(or: Kanye West Fucked Up My Show)
  • 3. A raster image ( vs. vector images and stereo images) is a data structure generally represented by a rectangular grid of pixels (or a bitmap). Technically, a bitmap is characterized by a certain amount of pixels defining the images width and height AND the amount of bits per pixel that defines the images color depth. Gamut: the possible different color representations. When an image has a relatively low color depth, the stored color value is typically a number represented within an index of a color map or palette. Define Your Terms(or: Kanye West Fucked Up My Show)
  • 4. Image glitching: Imagebending (reversible) vs databending (irreversible)? Define Your Terms(or: Kanye West Fucked Up My Show)
  • 5. 8bits = 1byte A binary file = a sequence of bytes. a binary file often also contains formatting information. compiled it can for instance form a program, or any other kind of file format. A hex editor (0xED) can be used to view file data as a sequence of hexadecimal (or decimal, binary or ASCII character) values for corresponding bytes of a binary file. If a binary file is opened in a text editor, each group of eight bits will typically be translated as a single character, and you will see a (probably unintelligible) display of textual characters. If the file is opened in some other application, that application will have its own use for each byte: maybe the application will treat each byte as a number and output a stream of numbers between 0 and 255 — or maybe interpret the numbers in the bytes as colors and display the corresponding picture. Define Your Terms(or: Kanye West Fucked Up My Show)
  • 6. Header: the data placed at the beginning of a block of data (in this case the image) being stored or transmitted. interleaved vs non-interleaved The interleaved raw format stores its RGB data rgbrgbrgbrgbrgbrgbrgbrgbrgb A planar (non-interleaved) format stores its data: rrrrrrrrrgggggggggbbbbbbbbb Photoshop RAW flat binary (header = 0)
  • 7. Photoshop RAW flat binary (header = 0) A channel is the grayscale image of the same size as a color image, made of just one of these primary colors. For instance, an image from a standard digital camera will have a red, green and blue channel. A grayscale image has just one channel.
  • 8.
  • 9. Wordpad effect pietjepuk666 & Stallio: (open as unicode - mac os Roman) does at least two things to a binary file. “I've found that Wordpad does at least two things to a binary file; it replaces byte 07 (ascii: BEEP) with 20 - a space - , and it replaces every lonely 0A or 0D (line feed - end of line - and carriage return - new line of text - respectively) and also 0B (vertical tab) with the bytes "0D 0A". So the rate of glitching is probably dependent on how dark the picture is, since low bytes like these give dark pixels (i suppose). in short: everytime it adds one byte.” BMP BMP is an uncompressed file format. imagebending vs databending
  • 12. GIF (8bit color depth, interlaced - 2f replaced for c0) Graphics Interchange Format is a bitmap image format that supports 8 bits per pixel and can thus consist of no more then 256 colors. The format supports animation. Dither (the grainy blocky artifacts) is an intentionally applied form of noise used to “randomize quantization error”; the difference between the actual analog value and quantized digital value. This error is caused by truncation (the discarding of less significant information). Dither thus helps to prevent from large-scale patterns such as "banding" (stepwise rendering of smooth gradations in brightness or hue). Moreover, the not available colors are approximated because the human eye perceives the diffusion as a mixture of the colors. This creates the illusion of color depth.
  • 13. GIF (8bit color depth, interlaced - 2f replaced for c0) The gif format uses a 4 pass one dimensional interlacing strategy. This means that one half of the image, consisting of every other row of pixels is rendered after the other half. In the image on the left this shows through a gradual displacement during weaving (the putting together of the two layers), which resulted in a second “ghost image” (or combing artifacts with jagged edges).
  • 15. GIF (1bit color depth, non-interlaced - 2f replaced for c0)
  • 16. GIF (1bit color depth, interlaced)
  • 17. PNG (8bit color depth, interlaced - 2f replaced for c0) PNG is a bitmapped image format that employs lossless data compression and offers a 7-pass 2-dimensional interlacing scheme—the Adam7 algorithm. This is more sophisticated than GIF's 1-dimensional, 4-pass scheme, and often allows for a clearer low-resolution image to be visible earlier in the transfer. This is visible in image 1 which just passed its first stage of the 7 part interlacing scheme. In this stage a part of the image is rendered almost flawless, while the further it gets rendered, the more the corrupted data becomes visible.
  • 19. PSD
  • 20. A JPG compression consists of 6 subsequent steps: 1. Color space transformation 2. Downsampling 3. Block splitting 4. Discrete cosine transform 5. Quantization 6. Entropy coding LOSSY: JPG
  • 21. 1. Initially, images have to be transformed from the RGB color space to another color space (called Y′CbCr), Here the Y refers to the luma or brightness and the Cb and Cr values stand for the chroma or color values for the blue and the red channel. 2. Because the human eye doesn’t perceives small differences within the Cb and Cr space very well, these elements are downsampled. 3. After the color space transformation, the image is split into tiles or macroblocks. Rectangular regions of the image that are transformed and encoded separately. 4. Next, a Discrete Cosine Transform (which works similar to the Fourier Transform function, exploited in datamoshing and macroblock studies) is used to create a frequency spectrum, to transform the 8×8 blocks to a combination of the 64 two-dimensional DCT basis functions or patterns (as differentiated by the red lines). 5. During the Quantization step, the highest brightness-frequency variations become a base line (or 0-value), while small positive and negative frequency differentiations get a value, which take many fewer bits to represent.
  • 22. Because the RGB color values are described in such a complex algorithms, some random data replacement often results into dramatic discoloration and other effects. The very high compression ratio of this jpg effects the quality of the image and the size of the artifacts. When using quantization with block-based coding, as in these JPEG- compressed images, several types of often unwanted artifacts can appear, for instance ringing or ghosting. In the bend image to the left, the low quality and corruption have made these artifacts more apparent. 6. finally, entropy coding is applied. Entropy coding is a special form of lossless data compression that involves arranging the image components in a "zigzag" order. This allows the quantized coefficient table to be rewritten in a zigzag order to a sequence of frequencies. A run-length encoding (RLE) algorithm groups similar frequencies together and after that, via "Huffman coding" organizes what is left.
  • 23. While sequential encoding (or baseline) encodes coefficients of a single block at a time (in a zigzag manner), progressive encoding encodes similar- positioned coefficients of all blocks in one go, followed by the next positioned coefficients of all blocks, and so on. JPG (progressive)
  • 26. The JPEG 2000 standard was mainly developed because of the many edge and blocking artifacts of the JPG format. JPEG 2000 has “improved scalability and edit-ability”. In JPG 2000, after the color transformation step, the image is split into so-called tiles, rectangular regions of the image that are transformed and encoded separately. Tiles can be any size, and it is also possible to consider the whole image as one single tile. This results into a collection of sub-bands which represent several approximation scales. JPG 2000
  • 27.
  • 28. TARGA The gif format uses a 4 pass one dimensional interlacing strategy. This means that one half of the image, consisting of every other row of pixels is rendered after the other half. In the image on the left this shows through a gradual displacement during weaving (the putting together of the two layers), which resulted in a second “ghost image” (or combing artifacts with jagged edges).
  • 30. TIFF (ZIP, Interleaved - m substituted for r)
  • 32. USPEC
  • 33. 4BC
  • 34. MCF
  • 35. CCI
  • 37. BLINX