[root] / trunk / graf2d / postscript / inc / TImageDump.h Repository:
ViewVC logotype

Log of /trunk/graf2d/postscript/inc/TImageDump.h

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 46896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 30 13:29:05 2012 UTC (2 years, 2 months ago) by couet
File length: 2910 byte(s)
Diff to previous 23140
New class TMathText to Draw Math formulas using a TeX processor written by Yue Shi Lai

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: 2848 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/inc/TImageDump.h
File length: 2848 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 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2932 byte(s)
Diff to previous 19826
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2932 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2983 byte(s)
Diff to previous 18037
remove :$ from tag line

Revision 18037 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 21 09:20:43 2007 UTC (7 years, 11 months ago) by couet
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2993 byte(s)
Diff to previous 17720
- From Valeri Onuchin:
  Implement the line styles > 4

Revision 17720 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 6 09:47:23 2007 UTC (7 years, 11 months ago) by couet
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2830 byte(s)
Diff to previous 12565
- From Valeri Onuchin:
  More fixes related to the last TImageDump, TASImage changes.

Revision 12565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 30 10:51:15 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2680 byte(s)
Diff to previous 11911
Changes to make the rulechecker happy in directory postscript.

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/inc/TImageDump.h
File length: 2679 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 11846 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 23 07:02:51 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2631 byte(s)
Diff to previous 11838
From Valeriy Onuchin:
- fix slow drawing  problem  in TImageDump reported by Brett Viren

Revision 11838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 20 11:12:54 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2840 byte(s)
Diff to previous 11793
From Valeriy Onuchin:
Fix a bug in the new implementation of TASImage preventing the
correct generation of gif files in case of multiple pads.

Revision 11793 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 15 05:53:45 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2601 byte(s)
Diff to previous 11744
From Valeriy Onuchin:
- TASImage class:

 o new method GetImageBuffer is introduced. It returns in-memory buffer
compressed according to the  image type.
Buffer must be deallocated after usage.
This method can be used for sending images over the network.

o new method SetImageBuffer introduced. It creates image from  compressed
buffer. Supported formats:
       PNG - by default
       XPM - two options exist:
      1.  xpm as a single string (raw buffer). Such a string
             is returned by GetImageBuffer method.

      For example:

       char *buf;
       int sz;
       im1->GetImageBuffer(&buf, &int, TImage::kXpm); /*raw buffer*/
       TImage *im2 = TImage::Create();
       im2->SetImageBuffer(&buf, TImage::kXpm);

      2.  xpm as an array of strigs (preparsed)
      For example:
       char *xpm[] = {
          "64 28 58 1",
          "  c #0A030C",
          ". c #1C171B"
             ...
    TImage *im = TImage::Create();
    im->SetImageBuffer(xpm, TImage::kXpm);

o custom Streamer was implemented. That allows to save images in ROOT files.
   Image's  thumbnail is also saved into a file.

o galaxy_image.C tutorial is modified according to new  saving schema.

o new demo file gallery.root added to tutorials. It contains thumbnailed
and browsable pictures produced by some ROOT tutorials.

o fix bug im TASImage::DrawRectangle methods. Thanks to Thomas Bretz
  for reporting it.


- TKey class.
  Possibility to save thumbnail/icon  as XPM string along  with object added.
  Currently such mechanism is used for saving thumbnailed images.


- TGPicture.  Platform-dependent code was removed. Now  TGPictures
  are created by TImage objects.


- TRootBrowser classes. Possibility  to show objects with dynamically created
  icons added.

- numerous bug fixes in libAfterImage library.

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/inc/TImageDump.h
File length: 2737 byte(s)
Diff to previous 11729
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 11729 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 3 13:11:32 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/postscript/inc/TImageDump.h
File length: 2558 byte(s)
Diff to previous 11693
From Valeriy Onuchin:
- another "code for speed" optimization done.

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/inc/TImageDump.h
File length: 2507 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.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9