Displaying 16 results from an estimated 16 matches for "pngfiles".
Did you mean:
pngfile
2010 Feb 10
0
RODBC Update image file into a MS-SQL database table
Hi,
I am creating some graphs which I want to update into a database table.
The procedure I am following is:
1. create the graphs as a png/jpeg file.
2. Read that file as a binary vector
3. sqlUpdate
My code:
pngfile <- file(<filename>, "rb")
N <- 1e6
repeat{
pngfilecontents <- readBin(pngfile, what="raw", n=N)
if(length(pngfilecontents) ==
2017 Sep 19
0
[PATCH 6/6] lib: Use guestfs_int_make_temp_path in a few more places.
There were various places in the library where we open coded making
temporary filenames. This uses the utility function instead.
---
lib/appliance-uefi.c | 4 +++-
lib/command.c | 5 +++--
lib/drives.c | 4 +++-
lib/inspect-icon.c | 12 +++++++++---
lib/launch-direct.c | 5 ++---
lib/launch-libvirt.c | 5 ++---
lib/launch-uml.c | 5 ++---
7 files changed, 24
2013 Jan 25
4
[PATCH 0/3] Use __attribute__((cleanup(...)))
This patch series changes a small part of the library to use
__attribute__((cleanup(...))) to automatically free memory when
pointers go out of the current scope.
In general terms this seems to be a small win although you do have to
use it carefully. For functions where you can completely get rid of
the "exit code paths", it can simplify things. For a good example,
see the
2012 Oct 18
10
[PATCH 0/10] Add a mini-library for running external commands.
Inspired by libvirt's virCommand* internal mini-library, this adds
some internal APIs for running commands.
The first patch contains the new APIs. The subsequent patches change
various parts of the library over to use it.
Rich.
2002 Jul 22
2
finding the colour at a point
I think this was asked recently but I can't find the item.
Is it possible to find the colour at a point on a graphics page?
I want to estimate the area of a complex shape by colouring it then random
sampling from an enclosing box ...
Richard Rowe
Richard Rowe
Senior Lecturer
Department of Zoology and Tropical Ecology, James Cook University
Townsville, Queensland 4811, Australia
fax (61)7
2017 Sep 20
7
[PATCH v2] 0/6] Various clean ups in lib/
v1 -> v2:
- Remove the unnecessary calls to guestfs_int_lazy_make_tmpdir
in the final patch.
Rich.
2017 Sep 19
7
[PATCH 0/6] Various clean ups in lib/
Miscellaneous small cleanups in lib/ directory.
Rich.
2017 Oct 05
4
[PATCH 0/2] lib: Allow db_dump package to be a weak dependency.
Fix for:
https://bugzilla.redhat.com/show_bug.cgi?id=1409024
2015 Sep 29
8
[PATCH 0/7] copy-in/copy-out: Capture errors from tar subprocess (RHBZ#1267032).
Commits 3c27f3d91e1566854747bbe844186783fc84f3a8 and
1b6f0daa9ae7fcc94e389232d0c397816cda973d added an internal API for
running commands asynchronously. It is only used by the copy-in and
copy-out APIs.
Unfortunately this made the command code very complex: it was almost
impossible to redirect stderr to a file, and there were a lot of
long-range dependencies through the file. It was also buggy:
2017 Oct 05
0
[PATCH 2/2] lib/inspect-icon.c: Return error if guestfs_int_cmd_run has internal error.
This function returns -1 if things like fork(2) fail, so it is right
to return an error here. If the PBMTEXT command fails then that's a
NOT_FOUND case.
---
lib/inspect-icon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/inspect-icon.c b/lib/inspect-icon.c
index 533e9fb4b..0edd3d1b0 100644
--- a/lib/inspect-icon.c
+++ b/lib/inspect-icon.c
@@ -400,7 +400,7 @@
2007 Sep 12
0
: Error on tomcat...
Hi,
I am using TOMCAT 6.0.14 on Solaris 10 i86. I wrote a perl script which is
running a cgi on tomcat, from there i am taking input value's and using the
following way to create a graph using R and accessing that graph to attach
it on webpage:
....
....
my $to_run = "/usr/local/bin/R --vanilla --slave --args $selected_host
$graph_start $graph_end < ..\/..\/..\/page\/R\/" .
2003 Jun 05
1
dev.copy2eps: Why did the colors come into my postscript output?
...ray" and
on screen I did not see colors.
I put some of the eps files up here, so you can see what I mean:
http://lark.cc.ku.edu/~pauljohn/R/epsfiles
And if you don't have an eps viewer handy, I made png versions, since
all browsers seem to show them.
http://lark.cc.ku.edu/~pauljohn/R/pngfiles/
The docs indicate that the x11 device is being copied, but I rather
think that a plot object that exists "behind" the x11 device is being
saved.?
I have since learned that I can put col=c("black") into the matplot
command to make sure no colors are used, and that works the...
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers.
These aren't valid for global names in C++.
(http://stackoverflow.com/a/228797)
These large but completely mechanical patches change the illegal
identifiers to legal ones.
Rich.
2011 May 13
0
Wine release 1.3.20
The Wine development release 1.3.20 is now available.
What's new in this release (see below for details):
- Option to clip the mouse inside fullscreen windows.
- Support for persistent HTTP connections.
- Initial implementation of the XML writer.
- Support for drawing rectangles in the DIB engine.
- Volume control in MMDevAPI.
- More MSVC runtime functions.
- Various bug fixes.
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
Because of previous automated commits, such as changing 'guestfs___'
-> 'guestfs_int_', several function calls no longer lined up with
their parameters, and some lines were too long.
The bulk of this commit was done using emacs batch mode and the
technique described here:
http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html
The changes suggested by emacs were
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste.
---
align/scan.c | 35 ++++++++++---------
cat/cat.c | 39 +++++++++++----------
cat/filesystems.c | 69 +++++++++++++++++++-------------------
cat/log.c | 35 ++++++++++---------
cat/ls.c | 61 +++++++++++++++++----------------
df/main.c | 43 ++++++++++++------------
diff/diff.c | 67