473,805 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Grayscaling Image with GD causes image to turn jet black!

I borrowed this code from a source:

for($a=0;$a<ima gecolorstotal ($image_id);$a+ +)
{
$color = imageColorsForI ndex($image_id, $i);
$R=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
$G=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
$B=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
imageColorSet($ image_id, $a, $R, $G, $B);
}

using an image (in this case I'm using a JPEG) that is a true color
image I was unable to successfully use imagecopymergeg ray since that
washed out my hues/saturation altogether making the image illegible
(imagecopymerge gray + imagecreate); otherwise, the colors overrode
imagecopymergeg ray (imagecopymerge gray + imagecreatetrue color).

Using the code I borrowed I was able to change the image.. except that
it turned jet black instead!

Has anyone ever successfully grayscaled an image using GD library? If
so, how did you do it?

Thanx
Phil
Jul 17 '05 #1
8 2066
Try running an average of the three colors:
$avg = floor( ( $color['red']) + $color['green']) + $color['blue']) ) / 3 )
$R= $avg; $B = $avg; $G = $avg;
imageColorSet($ image_id, $a, $R, $G, $B);
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** **@posting.goog le.com...
I borrowed this code from a source:

for($a=0;$a<ima gecolorstotal ($image_id);$a+ +)
{
$color = imageColorsForI ndex($image_id, $i);
$R=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
$G=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
$B=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
imageColorSet($ image_id, $a, $R, $G, $B);
}

using an image (in this case I'm using a JPEG) that is a true color
image I was unable to successfully use imagecopymergeg ray since that
washed out my hues/saturation altogether making the image illegible
(imagecopymerge gray + imagecreate); otherwise, the colors overrode
imagecopymergeg ray (imagecopymerge gray + imagecreatetrue color).

Using the code I borrowed I was able to change the image.. except that
it turned jet black instead!

Has anyone ever successfully grayscaled an image using GD library? If
so, how did you do it?

Thanx
Phil

Jul 17 '05 #2
I'm sorry but that too breaks. Perhaps a code review is in order, I
realize that imageColorsTota l($this->image) produces 0, which I am
afraid I don't understand:

class ImageGrayscaleG enerator {

/*---------------------------------------------------------------------------------------------------------------------------------------------------------
This class exists due to the rather poor performance of the
imagecopymergeg ray() command
Borrowing code snippet from
http://us3.php.net/manual/en/functio...ymergegray.php first
line comment
Will perform actual grayscaling of image one pixel at a time.
-----------------------------------------------------------------------------------------------------------------------------------------------------------*/

var $image, $image_width, $image_height;

// REMEMBER TO USE REFERENCE POINTER ONTO $image OBJECT TO ENSURE
"static" CHANGE TO OBJECT AND NOT TO INSTANCE

function ImageGrayscaleG enerator(&$imag e) { // CONSTRUCTOR
$this->image =& $image;
}

function makeGray() { // VOID METHOD
print_r($this->image); print_r("<P>");
print_r(@imageC olorsTotal($thi s->image) . "<P>");
for ($i = 0; $i < @imagecolorstot al($this->image); $i++) {
$colorArray = @imageColorsFor Index($this->image, $i);
print_r($colorA rray); print_r("<P>");
$avg = floor(($colorAr ray['red'] + $colorArray['green'] +
$colorArray['blue']) / 3);
@imageColorSet( $this->image, $i, $avg, $avg, $avg);
}
}
}
Thanx
Phil

"CountScubu la" <me@scantek.hot mail.com> wrote in message news:<_r******* ************@ne wssvr27.news.pr odigy.com>...
Try running an average of the three colors:
$avg = floor( ( $color['red']) + $color['green']) + $color['blue']) ) / 3 )
$R= $avg; $B = $avg; $G = $avg;
imageColorSet($ image_id, $a, $R, $G, $B);
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** **@posting.goog le.com...
I borrowed this code from a source:

for($a=0;$a<ima gecolorstotal ($image_id);$a+ +)
{
$color = imageColorsForI ndex($image_id, $i);
$R=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
$G=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
$B=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
imageColorSet($ image_id, $a, $R, $G, $B);
}

using an image (in this case I'm using a JPEG) that is a true color
image I was unable to successfully use imagecopymergeg ray since that
washed out my hues/saturation altogether making the image illegible
(imagecopymerge gray + imagecreate); otherwise, the colors overrode
imagecopymergeg ray (imagecopymerge gray + imagecreatetrue color).

Using the code I borrowed I was able to change the image.. except that
it turned jet black instead!

Has anyone ever successfully grayscaled an image using GD library? If
so, how did you do it?

Thanx
Phil

Jul 17 '05 #3
sorry, I didnt really look at the code, how is it breaking, error, not
working?

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
I'm sorry but that too breaks. Perhaps a code review is in order, I
realize that imageColorsTota l($this->image) produces 0, which I am
afraid I don't understand:

class ImageGrayscaleG enerator {

/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
--- This class exists due to the rather poor performance of the
imagecopymergeg ray() command
Borrowing code snippet from
http://us3.php.net/manual/en/functio...ymergegray.php first
line comment
Will perform actual grayscaling of image one pixel at a time.
-------------------------------------------------------------------------- ----------------------------------------------------------------------------
-----*/
var $image, $image_width, $image_height;

// REMEMBER TO USE REFERENCE POINTER ONTO $image OBJECT TO ENSURE
"static" CHANGE TO OBJECT AND NOT TO INSTANCE

function ImageGrayscaleG enerator(&$imag e) { // CONSTRUCTOR
$this->image =& $image;
}

function makeGray() { // VOID METHOD
print_r($this->image); print_r("<P>");
print_r(@imageC olorsTotal($thi s->image) . "<P>");
for ($i = 0; $i < @imagecolorstot al($this->image); $i++) {
$colorArray = @imageColorsFor Index($this->image, $i);
print_r($colorA rray); print_r("<P>");
$avg = floor(($colorAr ray['red'] + $colorArray['green'] +
$colorArray['blue']) / 3);
@imageColorSet( $this->image, $i, $avg, $avg, $avg);
}
}
}
Thanx
Phil

"CountScubu la" <me@scantek.hot mail.com> wrote in message

news:<_r******* ************@ne wssvr27.news.pr odigy.com>...
Try running an average of the three colors:
$avg = floor( ( $color['red']) + $color['green']) + $color['blue']) ) / 3 ) $R= $avg; $B = $avg; $G = $avg;
imageColorSet($ image_id, $a, $R, $G, $B);
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** **@posting.goog le.com...
I borrowed this code from a source:

for($a=0;$a<ima gecolorstotal ($image_id);$a+ +)
{
$color = imageColorsForI ndex($image_id, $i);
$R=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
$G=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
$B=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
($color['blue']);
imageColorSet($ image_id, $a, $R, $G, $B);
}

using an image (in this case I'm using a JPEG) that is a true color
image I was unable to successfully use imagecopymergeg ray since that
washed out my hues/saturation altogether making the image illegible
(imagecopymerge gray + imagecreate); otherwise, the colors overrode
imagecopymergeg ray (imagecopymerge gray + imagecreatetrue color).

Using the code I borrowed I was able to change the image.. except that
it turned jet black instead!

Has anyone ever successfully grayscaled an image using GD library? If
so, how did you do it?

Thanx
Phil

Jul 17 '05 #4
"CountScubu la" <me@scantek.hot mail.com> wrote in message news:<bE******* ***********@new ssvr27.news.pro digy.com>...
sorry, I didnt really look at the code, how is it breaking, error, not
working?

I'll show you, just go down and view...

Phil

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
I'm sorry but that too breaks. Perhaps a code review is in order, I
realize that imageColorsTota l($this->image) produces 0, which I am
afraid I don't understand:

class ImageGrayscaleG enerator {

/*--------------------------------------------------------------------------
----------------------------------------------------------------------------
---
This class exists due to the rather poor performance of the
imagecopymergeg ray() command
Borrowing code snippet from
http://us3.php.net/manual/en/functio...ymergegray.php first
line comment
Will perform actual grayscaling of image one pixel at a time.
--------------------------------------------------------------------------

----------------------------------------------------------------------------
-----*/

var $image, $image_width, $image_height;

// REMEMBER TO USE REFERENCE POINTER ONTO $image OBJECT TO ENSURE
"static" CHANGE TO OBJECT AND NOT TO INSTANCE

function ImageGrayscaleG enerator(&$imag e) { // CONSTRUCTOR
$this->image =& $image;
}

function makeGray() { // VOID METHOD
print_r($this->image); print_r("<P>");
print_r(@imageC olorsTotal($thi s->image) . "<P>");
** STOP HERE! What happens is that imageColorsTota l($this->image) =
0! Though the image is in color and I do a reference pointer to the
$image resource paramters in the method call, and it actually DOES
change the image according to the value of
imageColorsTota l($this->image), it turns the entire image into one
jet-black image, no tone, no hue, nothing, a big black box.

Phil
for ($i = 0; $i < @imagecolorstot al($this->image); $i++) {
$colorArray = @imageColorsFor Index($this->image, $i);
print_r($colorA rray); print_r("<P>");
$avg = floor(($colorAr ray['red'] + $colorArray['green'] +
$colorArray['blue']) / 3);
@imageColorSet( $this->image, $i, $avg, $avg, $avg);
}
}
}
Thanx
Phil

"CountScubu la" <me@scantek.hot mail.com> wrote in message

news:<_r******* ************@ne wssvr27.news.pr odigy.com>... Try running an average of the three colors:
$avg = floor( ( $color['red']) + $color['green']) + $color['blue']) ) / 3 ) $R= $avg; $B = $avg; $G = $avg;
imageColorSet($ image_id, $a, $R, $G, $B);
--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** **@posting.goog le.com...
> I borrowed this code from a source:
>
>
>
> for($a=0;$a<ima gecolorstotal ($image_id);$a+ +)
> {
> $color = imageColorsForI ndex($image_id, $i);
> $R=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
> ($color['blue']);
> $G=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
> ($color['blue']);
> $B=.299 * ($color['red'])+ .587 * ($color['green'])+ .114 *
> ($color['blue']);
> imageColorSet($ image_id, $a, $R, $G, $B);
> }
>
> using an image (in this case I'm using a JPEG) that is a true color
> image I was unable to successfully use imagecopymergeg ray since that
> washed out my hues/saturation altogether making the image illegible
> (imagecopymerge gray + imagecreate); otherwise, the colors overrode
> imagecopymergeg ray (imagecopymerge gray + imagecreatetrue color).
>
> Using the code I borrowed I was able to change the image.. except that
> it turned jet black instead!
>
> Has anyone ever successfully grayscaled an image using GD library? If
> so, how did you do it?
>
> Thanx
> Phil

Jul 17 '05 #5
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...

I'll show you, just go down and view...

Phil

< Big-O-snip >


Sometimes easier to re-invent the wheel (thats my my cars don't have model-t
wheels on them)
here is some code that works, and you can test here:
http://www.gzentools.com/test/img2gry.php

<?php

$imgFile = "girl1.jpg" ;

$imSrc = imagecreatefrom jpeg($imgFile);

$imW = imagesx($imSrc) ;
$imH = imagesy($imSrc) ;

$imDst = imagecreate($im W,$imH);

// create 256 shades of grey
for ($i=0; $i<256; $i++) {
$colorNdx[$i] = imagecoloralloc ate($imDst,$i,$ i,$i);
}

for ($y=0; $y<$imH; $y++)
{
for ($x=0; $x<$imW; $x++)
{
$ndx = imagecolorat($i mSrc,$x,$y);
$ndxColors = imagecolorsfori ndex($imSrc,$nd x);
$avg = floor( ($ndxColors['red'] + $ndxColors['green'] +
$ndxColors['blue']) / 3 );
imagesetpixel($ imDst,$x,$y,$co lorNdx[$avg]);
}
}

imagejpeg($imDs t);
exit();

?>
--
Mike Bradley
http://www.gzentools.com -- free online php tools
Jul 17 '05 #6
IT WORKED AT LAST!!! Thanx a lot. By the way, your URL produced
ASCII-related garbage on my screen, just so you know.

Thanx again!!
Phil

"CountScubu la" <me@scantek.hot mail.com> wrote in message news:<vi******* ************@ne wssvr27.news.pr odigy.com>...
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...

I'll show you, just go down and view...

Phil

< Big-O-snip >


Sometimes easier to re-invent the wheel (thats my my cars don't have model-t
wheels on them)
here is some code that works, and you can test here:
http://www.gzentools.com/test/img2gry.php

<?php

$imgFile = "girl1.jpg" ;

$imSrc = imagecreatefrom jpeg($imgFile);

$imW = imagesx($imSrc) ;
$imH = imagesy($imSrc) ;

$imDst = imagecreate($im W,$imH);

// create 256 shades of grey
for ($i=0; $i<256; $i++) {
$colorNdx[$i] = imagecoloralloc ate($imDst,$i,$ i,$i);
}

for ($y=0; $y<$imH; $y++)
{
for ($x=0; $x<$imW; $x++)
{
$ndx = imagecolorat($i mSrc,$x,$y);
$ndxColors = imagecolorsfori ndex($imSrc,$nd x);
$avg = floor( ($ndxColors['red'] + $ndxColors['green'] +
$ndxColors['blue']) / 3 );
imagesetpixel($ imDst,$x,$y,$co lorNdx[$avg]);
}
}

imagejpeg($imDs t);
exit();

?>

Jul 17 '05 #7
Like like I forgot to inflate the tire after I reinvented the wheel, forgot
to put:
header("Content-type: image/jpeg");

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
IT WORKED AT LAST!!! Thanx a lot. By the way, your URL produced
ASCII-related garbage on my screen, just so you know.

Thanx again!!
Phil

"CountScubu la" <me@scantek.hot mail.com> wrote in message

news:<vi******* ************@ne wssvr27.news.pr odigy.com>...
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...

I'll show you, just go down and view...

Phil

< Big-O-snip >


Sometimes easier to re-invent the wheel (thats my my cars don't have model-t wheels on them)
here is some code that works, and you can test here:
http://www.gzentools.com/test/img2gry.php

<?php

$imgFile = "girl1.jpg" ;

$imSrc = imagecreatefrom jpeg($imgFile);

$imW = imagesx($imSrc) ;
$imH = imagesy($imSrc) ;

$imDst = imagecreate($im W,$imH);

// create 256 shades of grey
for ($i=0; $i<256; $i++) {
$colorNdx[$i] = imagecoloralloc ate($imDst,$i,$ i,$i);
}

for ($y=0; $y<$imH; $y++)
{
for ($x=0; $x<$imW; $x++)
{
$ndx = imagecolorat($i mSrc,$x,$y);
$ndxColors = imagecolorsfori ndex($imSrc,$nd x);
$avg = floor( ($ndxColors['red'] + $ndxColors['green'] +
$ndxColors['blue']) / 3 );
imagesetpixel($ imDst,$x,$y,$co lorNdx[$avg]);
}
}

imagejpeg($imDs t);
exit();

?>

Jul 17 '05 #8
Sorry I can't add that header() line, the moment I do, "index.php"
turns literally into an indiscernible JPEG image (that's assuming I'm
working with a JPEG, in my Image Catalog it could literally be
anything, even a video!)

Phil

"CountScubu la" <me@scantek.hot mail.com> wrote in message news:<VP******* **********@news svr29.news.prod igy.com>...
Like like I forgot to inflate the tire after I reinvented the wheel, forgot
to put:
header("Content-type: image/jpeg");

--
Mike Bradley
http://www.gzentools.com -- free online php tools
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
IT WORKED AT LAST!!! Thanx a lot. By the way, your URL produced
ASCII-related garbage on my screen, just so you know.

Thanx again!!
Phil

"CountScubu la" <me@scantek.hot mail.com> wrote in message

news:<vi******* ************@ne wssvr27.news.pr odigy.com>...
"Phil Powell" <so*****@erols. com> wrote in message
news:1c******** *************** ***@posting.goo gle.com...
>
> I'll show you, just go down and view...
>
> Phil
>
> < Big-O-snip >

Sometimes easier to re-invent the wheel (thats my my cars don't have model-t wheels on them)
here is some code that works, and you can test here:
http://www.gzentools.com/test/img2gry.php

<?php

$imgFile = "girl1.jpg" ;

$imSrc = imagecreatefrom jpeg($imgFile);

$imW = imagesx($imSrc) ;
$imH = imagesy($imSrc) ;

$imDst = imagecreate($im W,$imH);

// create 256 shades of grey
for ($i=0; $i<256; $i++) {
$colorNdx[$i] = imagecoloralloc ate($imDst,$i,$ i,$i);
}

for ($y=0; $y<$imH; $y++)
{
for ($x=0; $x<$imW; $x++)
{
$ndx = imagecolorat($i mSrc,$x,$y);
$ndxColors = imagecolorsfori ndex($imSrc,$nd x);
$avg = floor( ($ndxColors['red'] + $ndxColors['green'] +
$ndxColors['blue']) / 3 );
imagesetpixel($ imDst,$x,$y,$co lorNdx[$avg]);
}
}

imagejpeg($imDs t);
exit();

?>

Jul 17 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1512
by: mike kreiner | last post by:
I'm using the convolve2d(image, mask) function from scipy to blur an image. The image I'm using is 512 by 384. When I display the image that convolve2d returns, the the left-most square of pixels (388 by 388) turn out fine, blurred and everything, however the right side of the image is all black. I've uploaded the practice image to: http://tinypic.com/1g3iox The output image is: http://tinypic.com/1g3iv9 here's what I entered at the...
2
1869
by: Nick Calladine | last post by:
Is this possible to ... I wish to get the value of a dropdown select but gets is indexable value (dont know if that is the right term) if that is possible (the position it assigned get assigned by the position on the list) this is so i can then pass it to the array called pictureimage to get the correct filename (similar to the picturetext part of this routine) and then the final line on the fuction is to change an original image with...
2
1990
by: Andreas Viklund via DotNetMonster.com | last post by:
Hi! I am developing an application in ASP.NET that takes an image, that have been created with a digital camera or camera phone, and processes it, to get data from it. The image taken by the user will be of a square in some kind of magazine or newpaper, with a white background and the border of the square should be black. What I am trying to do is to find the square, or the corners of the square, in the image, using ASP.NET code. If the...
1
2380
by: Jonas | last post by:
Hi! When i use the code below to convert a wmf to a jpg image, the output will always be with a black backgound. ("data" is a byte array containing the WMF file) System.IO.MemoryStream ms = new MemoryStream(data,0,data.Length); ms.Write(data,0,data.Length); ms.Position = 0;
16
1956
by: Nicky | last post by:
I am using Visual C# 2005 and I need help creating a filter that will turn a picture black and white. This code I have so far is: byte red, green, blue, avg, newColor; int x; int y; ImageArray img = new ImageArray(pictureBoxMainImage.Image); img.LockImage();
0
1661
by: CG3000 | last post by:
I create a .PNG image ( in Macromedia Fireworks ) which has an gif in it in the top left corner and a lot of empty canvas space to the right. I use about 10 text boxes on a form to populate that empty space with text. I then print the image ( from a picture box on my form) on a UPS Thermal Printer ( label printer) Problem is the resolution of the text is blurry.
4
5221
by: MrNobody | last post by:
Let's say I have an image which is monochrome with areas of white, black and shades of gray. Now I want to turn all the white parts into some RGB color but it also needs to be darkened by the gray areas for the same color. Like say it's an image of a sphere, it is white in the part it is under the light but then as you get away from the light source it becomes darker and darker gray. Now I want to take this image and apply just one RGB...
1
3915
by: alokw | last post by:
Hi everyone, Here's my problem. I'd like to revamp my web site, and I have this idea. I want to create essentially a border around the screen of about 100 pixels of just black. Heres where it gets tricky: In the middle area which is not touched by the border should be an image that I have created that is excessively
49
1740
by: comp.lang.php | last post by:
/** * Class for grayscaling image * * @author Phil Powell * @version 1.2.1 * @package IMAGE_CATALOG::IMAGE */ class ImageGrayscaleGenerator extends ImageResizeComponents { /
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10359
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9182
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7645
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5541
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.