I have had great luck with cwrsync: http://www.itefix.no/i2/node/10650[^]
shipstech
Posts
-
Backup/Sync tool suggestions? -
Generating JPEG images on-the-flyThank you for your quick reply. The console app is a stripped down version of a windows forms app that has a nice interface. I was looking for a quick way to provide the same info across the LAN on browsers and thought I'd try my first asp.net project. Saving the JPG and serving it up on a web page was a quick and dirty way for proof of concept. I am now exploring adding an HTTPlistener to the console app, making it a page server so no passing of image required. I'll see how it goes and may buckle down and port the GDI+ code to asp.net as you suggest. Thanks again.
-
Generating JPEG images on-the-flySir, Thank you for your answer. If I may, a follow on question. I have vb.net console application that draws with GDI+ and saves it to a .jpg every second. My .aspx web page auto refreshes every second with the newly saved .jpg included. I would like to do this without saving to hard disk. I would like the console application to simply create a memory stream as you have suggested but only see option for a MemoryBMP. Can a .aspx page use a bitmap from memory of another process? Any suggestions? Thank you.
-
GDI+ How to limit number of PathPoints in GraphicsPath [modified]My application is a scrolling histogram. With each tick of the clock I add another rectangle to the graphicspath and then use TranslateTransform() to scale and "scroll" the data. Unfortunately this app must run 24/7 for weeks (months?!) at a time so the GraphicsPath gets very big. Does anyone know a way to remove PathPoints from a GraphicsPath? Something better than the following barebones class? Thanks for having a look. Public Class SizeLimitedGraphicsPath Private Gp1 As New GraphicsPath Private Gp2 As New GraphicsPath Private ActivePtr As GraphicsPath Private InActivePtr As GraphicsPath Private NextActiveGp As Integer Private _minimumSize As Integer Public Sub New(ByVal MinimumSize As Integer) _minimumSize = MinimumSize ActivePtr = Gp1 InActivePtr = Gp2 NextActiveGp = 2 End Sub Public Sub AddRectangle(ByVal rect As RectangleF) Gp1.AddRectangle(rect) Gp2.AddRectangle(rect) SwapIfNecessary() End Sub Public ReadOnly Property gp() As GraphicsPath Get Return ActivePtr End Get End Property Private Sub SwapIfNecessary() If InActivePtr.PointCount > _MinimumSize Then If NextActiveGp = 1 Then ActivePtr = Gp1 InActivePtr = Gp2 Gp2.Reset() NextActiveGp = 2 Else ' Nextgp = 2 ActivePtr = Gp2 InActivePtr = Gp1 Gp1.Reset() NextActiveGp = 1 End If End If End Sub End Class Wfanning@gso.uri.edu -- modified at 8:29 Monday 18th June, 2007