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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 21 2025 17:22:50
Script start
Timing: Jan 21 2025 17:22:50
Module start 'layout'
Timing: Jan 21 2025 17:22:50
Module start 'content'
Timing: Jan 21 2025 17:22:50
Module end 'content'
Timing: Jan 21 2025 17:22:50
Script end

Main resources:

Total runtime0.0152 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 587.9063151.2109
Module start 'layout' 0.00470.0026 739.117236.6328
Module start 'content' 0.00720.0062 775.750086.1094
Module end 'content' 0.01340.0017 861.859429.9922
Script end 0.0151  891.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002616.9021140.0002
Check MTime0.00117.5492140.0001
Mysql Total
Database connection0.00063.657610.0006
Mysqli_queries0.002315.103130.0008
Looping result0.00000.072310.0000
Template Total0.00138.310.0013
Template load0.00106.524810.0010
Template processing0.00031.751810.0003
Override
Cache load0.00074.526410.0007
General
dbfile0.00138.771580.0002
String conversion0.00000.106840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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