Forums / Developer / Image as a binary file

Image as a binary file

Author Message

Radek Kuchta

Tuesday 15 May 2007 4:08:44 am

Hi,

Is it possible to open (and display) image (jpg, png, etc.) as a binary file?
I want to see image as text where each byte is a number.

http://ez.no/certification/verify/272582

eZ debug

Timing: Jan 21 2025 16:09:44
Script start
Timing: Jan 21 2025 16:09:44
Module start 'content'
Timing: Jan 21 2025 16:09:44
Module end 'content'
Timing: Jan 21 2025 16:09:44
Script end

Main resources:

Total runtime0.0162 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.6875180.8438
Module start 'content' 0.00700.0051 768.531389.8359
Module end 'content' 0.01220.0040 858.367266.7031
Script end 0.0162  925.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002314.0293120.0002
Check MTime0.00106.2385120.0001
Mysql Total
Database connection0.00148.504410.0014
Mysqli_queries0.002616.162740.0007
Looping result0.00000.104520.0000
Template Total0.003622.210.0036
Template load0.00085.079110.0008
Template processing0.002716.964610.0027
Override
Cache load0.00063.616610.0006
General
dbfile0.00032.1114100.0000
String conversion0.00000.032430.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs