Ben Wiley Sittler
24ca7502e6
merge alpha fix from svn://svn.zoy.org/libcaca/libcaca/trunk/caca-php/examples/export.php@3287 into examples/www/export.php
16 years ago
Ben Wiley Sittler
839457cc5d
use alpha in PNG export, since it is now required to get a correct PNG output image
16 years ago
Ben Wiley Sittler
eb7b2bdda7
fix type in Canvas::drawLine; add a minimal class Event providing a
subset of the functionality of the .NET version; added Display::getEvent
similar to the .NET version; change Dither::bitmap to take a Canvas
object rather than a caca canvas resource as its first parameter; add
Font::Render and Font::getList methods parallel to the .NET version
16 years ago
Ben Wiley Sittler
c1e1760ee4
use alpha channel in gd truecolor images -- note that the scale for
this is [0, 127], rather than [0, 255]; always free the temporary
pixels copy allocated in PHP_FUNCTION(caca_dither_bitmap); fix a typo
which caused PHP_FUNCTION(caca_set_display_title) to crash due to a
failed run-time binding to "caca_set_display" (the "_title" was
missing).
16 years ago
Ben Wiley Sittler
07d9dcc348
preserve column alignment better by breaking cells at spaces; preserve
readability of fullwidth characters better by not placing cell
boundaries between them unneccessarily
16 years ago
Ben Wiley Sittler
e434549a4d
force a column alignment after each column containing a fullwidth character.
16 years ago
Ben Wiley Sittler
14c4a66190
no border in old browsers, either.
16 years ago
Ben Wiley Sittler
fe9bc1e97a
htmlification
16 years ago
Ben Wiley Sittler
7ee83ef1cb
copy unicode.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
912c12b68e
cli-only
16 years ago
Ben Wiley Sittler
cefb7fb871
phpized
16 years ago
Ben Wiley Sittler
f89341d18f
copy unicode.c to unicode.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
c503541dcb
htmlize
16 years ago
Ben Wiley Sittler
b5701199d7
copy transform.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
dd9fff4d60
PHPified
16 years ago
Ben Wiley Sittler
531c76030c
copy transform.c to transform.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
7f251a3e93
show client-side filename
16 years ago
Ben Wiley Sittler
c662584362
clearer wording.
16 years ago
Ben Wiley Sittler
735997d551
link to an example file to download and then import (generated by export.php)
16 years ago
Ben Wiley Sittler
9e13b58fe7
works well enough to import the files exported by export.php
16 years ago
Ben Wiley Sittler
fee77cac00
force cli on remaining examples so that apache doesn't pop up a window
(this actually happens with the cocoa driver!)
16 years ago
Ben Wiley Sittler
415b54902d
CLI-only
16 years ago
Ben Wiley Sittler
665f0c98bf
copy import.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
13dcd97685
list available import formats in usage message
16 years ago
Ben Wiley Sittler
aae1d4c531
PHPification of import.c
16 years ago
Ben Wiley Sittler
62b20bc8d1
copy import.c to import.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
4b01269d8a
only fill the preview iframe when javascript is enabled
16 years ago
Ben Wiley Sittler
995edf8021
merge latest CLI example bugfixes into the HTML versions
16 years ago
Ben Wiley Sittler
e7305d8b68
fix typo in PHP binding of caca_set_Attr that caused segfault on linux; also remove workaround for spurious extra-argument requirement from two of the PHP examples
16 years ago
Ben Wiley Sittler
b76e1ed2b2
now generates HTML
16 years ago
Ben Wiley Sittler
b4375871d7
copy fullwidth.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
5558dbadc7
added copyright info for PHP conversion (blah blah blah...)
16 years ago
Ben Wiley Sittler
3ac8510e4c
now works as PHP
16 years ago
Ben Wiley Sittler
1e7ae2c712
copy fullwidth.c to fullwidth.php in preparation for phpizing
16 years ago
Ben Wiley Sittler
1e933f8d50
only assume svg preview ability in opera, WebKit and Gecko
16 years ago
Nicolas Vion
ab44c8daa7
* Improve object layer for caca-php
16 years ago
Ben Wiley Sittler
28121eec77
do not add history entries for iframe transitions
16 years ago
Ben Wiley Sittler
3336b41178
add missing id
16 years ago
Ben Wiley Sittler
dc32a8ac41
use some javascript to show inline previews using <iframe/> for some
of the formats (so far, html, html3, bbfr, and svg)
16 years ago
Ben Wiley Sittler
7b47610259
.caca files get an extension, too
16 years ago
Ben Wiley Sittler
a684af9ed6
suggest extensions for some of the inline formats too, since browsers
sometimes send them to external viewers and become confused if the
filename ends in '.php' (despite our correct content-type!)
16 years ago
Ben Wiley Sittler
9c556c4071
text formats embedding escape sequences get sent as attachments too
16 years ago
Ben Wiley Sittler
f1eedaf0b1
working HTML version of export.php accepting an optional file upload and exporting it using the selected format
16 years ago
Ben Wiley Sittler
242103d6d5
another typo
16 years ago
Ben Wiley Sittler
e8cd1896b7
spaces -> tabs
16 years ago
Ben Wiley Sittler
9712d7a48e
add missing content-type in the HTML case
16 years ago
Ben Wiley Sittler
6a373704cc
typo
16 years ago
Ben Wiley Sittler
36ccbf8220
make examples/demo.php executable
16 years ago
Ben Wiley Sittler
28300073de
copy export.php to www in preparation for htmlizing
16 years ago
Ben Wiley Sittler
ea2f4ff159
export.php is now actually php, and appears to work identically to its
C predecessor.
16 years ago