Log of /trunk/graf2d/postscript/src/TImageDump.cxx
Parent Directory
Revision
32337 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 12 16:09:35 2010 UTC (4 years, 11 months ago) by
pcanal
File length: 24402 byte(s)
Diff to
previous 32156
Fix warning with gcc 4.4.1 and -pendantic.
For RStipples.h the warning was:
error: overflow in implicit constant conversion
Revision
27143 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 14 16:14:50 2009 UTC (6 years ago) by
couet
File length: 24145 byte(s)
Diff to
previous 27093
- Changes in libAfterImage (draw.c & draw.h), TASImage.cxx
and TImageDump.cxx in order to produce nice looking
circular (hollow and solid) markers. Previously the line
used to draw hollow circular markers looked very thick and
the solid ones did not look circular.
Revision
23140 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by
rdm
File length: 23810 byte(s)
Diff to
previous 22872
move the following directories to "graf2d":
asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf
move the following directories to "graf3d":
eve, ftgl, g3d, gl, x3d
Revision
22872 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 27 16:59:12 2008 UTC (6 years, 9 months ago) by
couet
Original Path:
trunk/postscript/src/TImageDump.cxx
File length: 23810 byte(s)
Diff to
previous 20882
- From Onuchin:
In batch, when a picture was saved in a binary file (gif for instance) from
an image containing more than one pad, only the first pad was saved. The
following macro demonstrates the problem: ccc2.gif was wrong compared to
ccc1.gif.
{
gROOT->SetBatch();
TCanvas *c = new TCanvas;
c->Divide(1,2);
TH1F *h = new TH1F("gaus", "gaus", 100, -5, 5);
h->FillRandom("gaus", 10000);
c->cd(1); h->Draw();
c->cd(2); h->Draw("c*");
c->Print("ccc1.gif");
TImage *img = TImage::Create();
img->FromPad(c);
img->WriteImage("ccc2.gif");
}
Revision
16404 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 2 16:12:39 2006 UTC (8 years, 3 months ago) by
brun
Original Path:
trunk/postscript/src/TImageDump.cxx
File length: 23718 byte(s)
Diff to
previous 16278
From Valeriy Onuchin:
- add possibility to create an animated GIF file from canvas
(in both GUI and batch mode).
It's possible to Print pad into an animated GIF file by specifying
the file name as "myfile.gif+" or "myfile.gif+NN" ,
where NN is the delay for displaying subimages during animation in 10ms units.
If NN is ommitted the delay between subimages is zero.
for (int i=0; i<10; ++i) {
// fill canvas for context
// ...
c1.Print("file.gif+"); // print canvas to GIF file
}// end loop
Revision
16278 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 15 15:12:48 2006 UTC (8 years, 4 months ago) by
brun
Original Path:
trunk/postscript/src/TImageDump.cxx
File length: 23990 byte(s)
Diff to
previous 16258
From Valeriy O.
- libAfterImage.tar.gz
Fixes for few bugs in reading multi-image gif files by
Sasha Vasko and Valeriy Onuchin
- TASImage.cxx
o Several image formats can support subimages e.g.
GIF, TIFF, BMP, XCF, ICO etc. The famous ones are
animated GIF files.
Possiblity to read subimages from multi-image files added.
For example,
i1 = TImage::Open("anim.gif.0"); // read the first subimage
i2 = TImage::Open("anim.gif.1"); // read the second subimage
i4 = TImage::Open("anim.gif.3"); // read the forth subimage
o TASImage::Draw method. Take into account the
gStyle->GetScreenFactor() when a new canvas displaing an image is created.
- TImageDump.cxx
o Small correction in comment
Revision
14794 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 21 16:29:33 2006 UTC (8 years, 9 months ago) by
rdm
Original Path:
trunk/postscript/src/TImageDump.cxx
File length: 22979 byte(s)
Diff to
previous 14125
From Christian Holm:
* Fixes to SapDB plugin to allow compilation on AMD64.
* Fixes to ODBC plugin to allow compilation on AMD64.
* Fix TTF to also use new `symbol.ttf' font when using free fonts.
* Fix to TImageDump to use free `symbol.ttf'
* The recent change to PROOF client side to not use plug-ins(!?)
forgot to include the header `config.h' in case `HAVE_CONFIG' is
defined. That meant, that ROOTLIBDIR was _never_ defined there,
and so the libraries could not be found on a `static'
installation.
* Update of copyright for root-common package due to new symbol.ttf font.
* Remove old packaging files that clutter the directory and may cause harm.
* Wording corrections for package description.
* Fixes to some dependencies.
* Fix to TTF installer package to not overwrite symbol.ttf.
* Some fixes to package preparation scripts.
* Remove some files in `make distclean' left over after build.
* Added package `root-plugin-odbc'.
Revision
11911 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon May 30 22:38:39 2005 UTC (9 years, 7 months ago) by
rdm
Original Path:
trunk/postscript/src/TImageDump.cxx
File length: 22243 byte(s)
Diff to
previous 11846
From Valeriy:
TGPicture:
- fix deallocation autogenerated disabled pictures. That allows to fix
seg. violation after running $ROOTSYS/test/stress reported by Markus Frank.
An important comment was added to constructor
TGPicture(const char *name, Pixmap_t pxmap, Pixmap_t mask)
"both pixmaps pxmap and mask must be unique (not shared)"
- new method TGPicturePool::GetPicture(const char *name, char **xpm) added
that allows to create pictures from in-memory XPM array
Example:
#include "myicon.xpm" // contains static char** myicon {..} array
const TGPicture *pic = gClient->GetPicturePool()->GetPicture("myicon",
myicon);
TGButton:
- new method SetEnablled added which allows to activate/deactivate
enabled/disabled state of button
TASImage/TImage:
- Few new vector graphics methods added:
DrawCubeBezier, DrawStraightEllips, DrawCircle, DrawEllips,DrawEllips2
ToGray method, which allows to convert RGB image to Gray image
TImageDump:
- open circle polymarkers are implemented
Revision
11744 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri May 6 14:55:48 2005 UTC (9 years, 8 months ago) by
brun
Original Path:
trunk/postscript/src/TImageDump.cxx
File length: 27929 byte(s)
Diff to
previous 11732
From Valeriy Onuchin:
1. TVirtualPS - 3 "abstract" methods added
void *GetStream() const
returns pointer to "backend", which is file stream for
TPostScript, TPDF, TSVG classes, and is TImage object for TImageDump
class.
void SetType(Int_t) , GetType() const
setter/getter methods
2. TImageDump
If type is 114 - do not write to file on delete or Close()
3. TASImage
- more 10-20% gain achived in drawing speed
- fix problems in painting image in batch mode, e.g.
$root -b
root[] .x rose_image.C
root[] c1->Print("c1.png")
Revision
11693 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Fri Apr 29 16:16:35 2005 UTC (9 years, 8 months ago) by
brun
Original Path:
trunk/postscript/src/TImageDump.cxx
File length: 26924 byte(s)
From Valeriy Onuchin:
- new class TImageDump derived from TVirtualPS is introduced.
That allows to save canvas in GIF, JPEG etc, image formats in batch mode.
This patch is introduced to check the portability of the code on all
platforms. More additions coming soon to:
- text rotation
- correct text alignment (y-centered)
- 1pixel frame drawing
- fix saving in PNG format
- speed optimisation
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.