Result:
found 225 distributions and 552 files matching your query ! ( run in 2.054 )


AI-TensorFlow-Libtensorflow

 view release on metacpan or  search on metacpan

lib/AI/TensorFlow/Libtensorflow/Manual/Notebook/InferenceUsingTFHubEnformerGeneExprPredModel.pod  view on Meta::CPAN

      IPerl->png( bytestream => path($plot_output_path)->slurp_raw );
  }

B<DISPLAY>:

=for html <span style="display:inline-block;margin-left:1em;"><p><img						src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA+gAAAMgCAIAAAA/et9qAAAgAElEQVR4nOzdd2AUVeIH8Ddb0jshBAIEpSo1GjoIpyAgCOqd3uGdoGBBUQQFRUVBRbkTf9gOBQucqFiwUhSSgJQYCCSBkJBAet1k...

=head2 Parts of the original notebook that fall outside the scope

In the orignal notebook, there are several more steps that have not been ported here:

 view all matches for this distribution


ASNMTAP

 view release on metacpan or  search on metacpan

applications/display-test.pl  view on Meta::CPAN

  $itemFullCondensedView = '  <TR>'."\n".'    '.$exclaim.$comments.$helpfile."\n";

  if ( $catalogID ne $CATALOGID or defined $creationTime ) {
    $itemFullCondensedView .= '    <TD class="ItemHeader">'.$groep. encode_html_entities('T', $test) .'</TD>'. "\n";
  } else {
    $itemFullCondensedView .= '    <TD class="ItemHeader">'.$groep.'<A HREF="#" class="ItemHeaderTest" onClick="openPngImage(\''. $RESULTSURL .'/'. $resultsdir .'/'. $command .'-'. $catalogID_uniqueKey ."-sql.html',912,576,null,null,'ChartDirector',1...
  }
}

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 view all matches for this distribution


Acme-DependOnEverything

 view release on metacpan or  search on metacpan

lib/Acme/DependOnEverything.pm  view on Meta::CPAN

use Acme::Spinodal::Utils;
use Acme::Spork::v;
use Acme::Stardate;
use Acme::State;
use Acme::Stegano;
use Acme::Steganography::Image::Png;
use Acme::Sterling;
use Acme::stickpin;
use Acme::StringFormat;
use Acme::String::Trim;
use Acme::Study::BLACKJ;

lib/Acme/DependOnEverything.pm  view on Meta::CPAN

use Image::PNG::FileConvert;
use Image::PNG::Libpng;
use Image::PNG::QRCode;
use Image::PNG::Rewriter;
use Image::PNG::Simple;
use Image::Pngslimmer;
use Image::PNG::Write::BW;
use Image::PNGwriter;
use Image::PNM;
use Image::Processor;
use Image::QRCode::Effects;

lib/Acme/DependOnEverything.pm  view on Meta::CPAN

use Net::Frame::Layer::OSPF;
use Net::Frame::Layer::PPPLCP;
use Net::Frame::Layer::PPPoES;
use Net::Frame::Layer::Q;
use Net::Frame::Layer::RIP;
use Net::Frame::Layer::RIPng;
use Net::Frame::Layer::SinFP;
use Net::Frame::Layer::SNMP;
use Net::Frame::Layer::STP;
use Net::Frame::Layer::Syslog;
use Net::Frame::Layer::UDPLite;

lib/Acme/DependOnEverything.pm  view on Meta::CPAN

use XMS::MotifSetv;
use X::Muralis;
use X::Osd;
use XPanel;
use XPathToXML;
use X::PngViewer;
use Xpriori::XMS;
use X::Protocol;
use X::Protocol::More;
use X::Protocol::Other;
use XRD::Parser;

 view all matches for this distribution


Acme-HowToMakeSushi

 view release on metacpan or  search on metacpan

lib/Acme/HowToMakeSushi/Photo.pm  view on Meta::CPAN

/9j/4AAQSkZJRgABAQEBLAEsAAD//gArT3B0aW1pemVkIGJ5IEpQRUdtaW5pIDMuOC44LjhMIDB4NzczNjE2NmP/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8SEhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEUHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh...
END_OF_SUSHI
);
}else{
	print decode_base64(<<'END_OF_SUSHI'
/9j/4AAQSkZJRgABAAAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCAMgBLADAREAAhEBAxEB/8QAHAAAAgMBAQ...
END_OF_SUSHI
);
}
}

 view all matches for this distribution


Acme-Steganography-Image-Png

 view release on metacpan or  search on metacpan

Png.pm  view on Meta::CPAN

package Acme::Steganography::Image::Png;

use strict;
use vars qw($VERSION @ISA);

use Imager;

Png.pm  view on Meta::CPAN


sub _keys {
  return \%keys;
}

Acme::Steganography::Image::Png->mk_accessors(@keys);

# This will get refactored out at some point to support other formats.
sub generate_header {
    my ($self) = shift;
    my $section = $self->section;

Png.pm  view on Meta::CPAN

  my $new_state = $state+1;
  # really unimaginative filenames by default
  ($state, $new_state);
}

package Acme::Steganography::Image::Png::FlashingNeonSignGrey;

use vars '@ISA';
@ISA = 'Acme::Steganography::Image::Png';

# Raw data as a greyscale PNG

sub make_image {
  my $self = shift;

Png.pm  view on Meta::CPAN

  my $datum;
  $img->write(data=> \$datum, type => 'raw');
  $datum;
}

package Acme::Steganography::Image::Png::RGB::556;

use vars '@ISA';
@ISA = 'Acme::Steganography::Image::Png::RGB';

# Raw data in the low bits of a colour image

Acme::Steganography::Image::Png->mk_accessors('raw');

sub extract_payload {
  my ($class, $img) = @_;
  my ($raw, $data);
  $img->write(data=> \$raw, type => 'raw');

Png.pm  view on Meta::CPAN

sub calculate_datum_length {
  my $self = shift;
  $self->x * $self->y * 2;
}

package Acme::Steganography::Image::Png::RGB::556FS;

use vars '@ISA';
@ISA = 'Acme::Steganography::Image::Png::RGB::556';

# Raw data in the low bits of a colour image, with Floyd-Steinberg dithering
# to spread the errors around. Share and enjoy, share and enjoy.

sub make_image {

Png.pm  view on Meta::CPAN

  $img->read(data=>$raw, type => 'raw', xsize => $xsize,
	     ysize => $ysize, datachannels => 3,interleave => 0);
  $img;
}

package Acme::Steganography::Image::Png::RGB::323;

use vars '@ISA';
@ISA = 'Acme::Steganography::Image::Png::RGB';

# Raw data in the low bits of a colour image

Acme::Steganography::Image::Png->mk_accessors('raw');

sub extract_payload {
  my ($class, $img) = @_;
  my ($raw, $data);
  $img->write(data=> \$raw, type => 'raw');

Png.pm  view on Meta::CPAN

sub calculate_datum_length {
  my $self = shift;
  $self->x * $self->y;
}

package Acme::Steganography::Image::Png::RGB;

use vars '@ISA';
@ISA = 'Acme::Steganography::Image::Png';

# Raw data in the low bits of a colour image

sub write_images {
  my $self = shift;

Png.pm  view on Meta::CPAN


  $self->raw($raw);

  $self->SUPER::write_images;
}
package Acme::Steganography::Image::Png;

sub generate_next_image {
    my ($self) = shift;
    my $datum = $self->generate_header;
    my $offset = $self->offset;

Png.pm  view on Meta::CPAN

1;
__END__

=head1 NAME

Acme::Steganography::Image::Png - hide data (badly) in Png images

=head1 SYNOPSIS

  use Acme::Steganography::Image::Png;

  # Write your data out as RGB PNGs hidden in the image "Camouflage.jpg"
  my $writer = Acme::Steganography::Image::Png::RGB::556FS->new();
  $writer->data(\$data);
  my @filenames = $writer->write_images("Camouflage.jpg");
  # Returns a list of the filenames it wrote to

  # Then read them back.
  my $reread =
     Acme::Steganography::Image::Png::RGB::556->read_files(@files);

=head1 DESCRIPTION

Acme::Steganography::Image::Png is extremely ineffective at hiding your
secrets inside Png images.

There are 4 implementations

=over 4

=item Acme::Steganography::Image::Png::FlashingNeonSignGrey

Blatantly stuffs your data into greyscale PNG files with absolutely no attempt
to hide it.

=item Acme::Steganography::Image::Png::RGB::556

Stuffs your data into a sample image, using the low order bits of each colour.
2 bytes of your data are stored in each pixel, 5 bits in Red and Green, 6 in
Blue. It produces a rather grainy image.

=item Acme::Steganography::Image::Png::RGB::323

Also stuffs your data into a sample image, using the low order bits of each
colour. Only 1 byte of your data is stored in each pixel, 3 bits in Red and
Blue, 2 in Green. To the untrained eye the image looks good. But the fact
that it's PNG will make anyone suspicious about the contents.

=item Acme::Steganography::Image::Png::RGB::556FS

Stuffs your data into a sample image, using the low order bits of each colour.
2 bytes of your data are stored in each pixel, 5 bits in Red and Green, 6 in
Blue. Changing the value of pixels to store data is adding error to the image,
in this case rather a lot of error. To attempt to conceal some of the

 view all matches for this distribution


Alien-FreeImage

 view release on metacpan or  search on metacpan

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

	}
}

/**
Retrieve the position of a chunk in a PNG stream
@param hPngMemory PNG stream handle
@param chunk_name Name of the chunk to be found
@param offset Start of the search in the stream
@param start_pos [returned value] Start position of the chunk
@param next_pos [returned value] Start position of the next chunk
@return Returns TRUE if successful, returns FALSE otherwise
*/
static BOOL 
mng_FindChunk(FIMEMORY *hPngMemory, BYTE *chunk_name, long offset, DWORD *start_pos, DWORD *next_pos) {
	DWORD mLength = 0;

	BYTE *data = NULL;
	DWORD size_in_bytes = 0;

	*start_pos = 0;
	*next_pos = 0;

	// get a pointer to the stream buffer
	FreeImage_AcquireMemory(hPngMemory, &data, &size_in_bytes);
	if(!(data && size_in_bytes) || (size_in_bytes < 20) || (size_in_bytes - offset < 20)) {
		// not enough space to read a signature(8 bytes) + a chunk(at least 12 bytes)
		return FALSE;
	}

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

	}
}

/**
Remove a chunk located at (start_pos, next_pos) in the PNG stream
@param hPngMemory PNG stream handle
@param start_pos Start position of the chunk
@param next_pos Start position of the next chunk
@return Returns TRUE if successfull, returns FALSE otherwise
*/
static BOOL 
mng_CopyRemoveChunks(FIMEMORY *hPngMemory, DWORD start_pos, DWORD next_pos) {
	BYTE *data = NULL;
	DWORD size_in_bytes = 0;

	// length of the chunk to remove
	DWORD chunk_length = next_pos - start_pos;
	if(chunk_length == 0) {
		return TRUE;
	}

	// get a pointer to the stream buffer
	FreeImage_AcquireMemory(hPngMemory, &data, &size_in_bytes);
	if(!(data && size_in_bytes) || (size_in_bytes < 20) || (chunk_length >= size_in_bytes)) {
		// not enough space to read a signature(8 bytes) + a chunk(at least 12 bytes)
		return FALSE;
	}
	

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

	}
	memcpy(&buffer[0], &data[0], start_pos);
	memcpy(&buffer[start_pos], &data[next_pos], size_in_bytes - next_pos);

	// seek to the start of the stream
	FreeImage_SeekMemory(hPngMemory, 0, SEEK_SET);
	// re-write the stream
	FreeImage_WriteMemory(buffer, 1, buffer_size, hPngMemory);

	free(buffer);

	return TRUE;
}

/**
Insert a chunk just before the inNextChunkName chunk
@param hPngMemory PNG stream handle
@param start_pos Start position of the inNextChunkName chunk
@param next_pos Start position of the next chunk
@return Returns TRUE if successfull, returns FALSE otherwise
*/
static BOOL 
mng_CopyInsertChunks(FIMEMORY *hPngMemory, BYTE *inNextChunkName, BYTE *inInsertChunk, DWORD inChunkLength, DWORD start_pos, DWORD next_pos) {
	BYTE *data = NULL;
	DWORD size_in_bytes = 0;

	// length of the chunk to check
	DWORD chunk_length = next_pos - start_pos;
	if(chunk_length == 0) {
		return TRUE;
	}

	// get a pointer to the stream buffer
	FreeImage_AcquireMemory(hPngMemory, &data, &size_in_bytes);
	if(!(data && size_in_bytes) || (size_in_bytes < 20) || (chunk_length >= size_in_bytes)) {
		// not enough space to read a signature(8 bytes) + a chunk(at least 12 bytes)
		return FALSE;
	}
	

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

	memcpy(&buffer[p], inInsertChunk, inChunkLength);
	p += inChunkLength;
	memcpy(&buffer[p], &data[start_pos], size_in_bytes - start_pos);

	// seek to the start of the stream
	FreeImage_SeekMemory(hPngMemory, 0, SEEK_SET);
	// re-write the stream
	FreeImage_WriteMemory(buffer, 1, buffer_size, hPngMemory);

	free(buffer);

	return TRUE;
}

static BOOL 
mng_RemoveChunk(FIMEMORY *hPngMemory, BYTE *chunk_name) {
	BOOL bResult = FALSE;

	DWORD start_pos = 0;
	DWORD next_pos = 0;
	
	bResult = mng_FindChunk(hPngMemory, chunk_name, 8, &start_pos, &next_pos);
	if(!bResult) {
		return FALSE;
	}

	bResult = mng_CopyRemoveChunks(hPngMemory, start_pos, next_pos);
	if(!bResult) {
		return FALSE;
	}

	return TRUE;
}

static BOOL 
mng_InsertChunk(FIMEMORY *hPngMemory, BYTE *inNextChunkName, BYTE *inInsertChunk, unsigned chunk_length) {
	BOOL bResult = FALSE;

	DWORD start_pos = 0;
	DWORD next_pos = 0;
	
	bResult = mng_FindChunk(hPngMemory, inNextChunkName, 8, &start_pos, &next_pos);
	if(!bResult) {
		return FALSE;
	}

	bResult = mng_CopyInsertChunks(hPngMemory, inNextChunkName, inInsertChunk, chunk_length, start_pos, next_pos);
	if(!bResult) {
		return FALSE;
	}

	return TRUE;

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

/**
Write a chunk in a PNG stream from the current position. 
@param chunk_name Name of the chunk
@param chunk_data Chunk array
@param length Chunk length
@param hPngMemory PNG stream handle
*/
static void
mng_WriteChunk(BYTE *chunk_name, BYTE *chunk_data, DWORD length, FIMEMORY *hPngMemory) {
	DWORD crc_file = 0;
	// write a PNG chunk ...
	// - length
	mng_SwapLong(&length);
	FreeImage_WriteMemory(&length, 1, 4, hPngMemory);
	mng_SwapLong(&length);
	// - chunk name
	FreeImage_WriteMemory(chunk_name, 1, 4, hPngMemory);
	if(chunk_data && length) {
		// - chunk data
		FreeImage_WriteMemory(chunk_data, 1, length, hPngMemory);
		// - crc
		crc_file = FreeImage_ZLibCRC32(0, chunk_name, 4);
		crc_file = FreeImage_ZLibCRC32(crc_file, chunk_data, length);
		mng_SwapLong(&crc_file);
		FreeImage_WriteMemory(&crc_file, 1, 4, hPngMemory);
	} else {
		// - crc
		crc_file = FreeImage_ZLibCRC32(0, chunk_name, 4);
		mng_SwapLong(&crc_file);
		FreeImage_WriteMemory(&crc_file, 1, 4, hPngMemory);
	}

}

/**

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

@param jng_width Image width
@param jng_height Image height
@param jng_alpha_sample_depth Bits per pixel
@param mChunk PNG grayscale IDAT format
@param mLength IDAT chunk length
@param hPngMemory Output memory stream
*/
static void 
mng_WritePNGStream(DWORD jng_width, DWORD jng_height, BYTE jng_alpha_sample_depth, BYTE *mChunk, DWORD mLength, FIMEMORY *hPngMemory) {
	// PNG grayscale IDAT format

	BYTE data[14];

	// wrap the IDAT chunk as a PNG stream

	// write PNG file signature
	FreeImage_WriteMemory(g_png_signature, 1, 8, hPngMemory);

	// write a IHDR chunk ...
	/*
	The IHDR chunk must appear FIRST. It contains:
	Width:              4 bytes

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

	data[9] = 0;	// color_type gray (jng_color_type)
	data[10] = 0;	// compression method 0 (jng_alpha_compression_method)
	data[11] = 0;	// filter_method 0 (jng_alpha_filter_method)
	data[12] = 0;	// interlace_method 0 (jng_alpha_interlace_method)

	mng_WriteChunk(mng_IHDR, &data[0], 13, hPngMemory);

	// write a IDAT chunk ...
	mng_WriteChunk(mng_IDAT, mChunk, mLength, hPngMemory);

	// write a IEND chunk ...
	mng_WriteChunk(mng_IEND, NULL, 0, hPngMemory);

}

// --------------------------------------------------------------------------

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

	unsigned m_TotalBytesOfChunks = 0;
	FIBITMAP *dib = NULL;
	FIBITMAP *dib_alpha = NULL;

	FIMEMORY *hJpegMemory = NULL;
	FIMEMORY *hPngMemory = NULL;
	FIMEMORY *hIDATMemory = NULL;

	// ---
	DWORD jng_width = 0;
	DWORD jng_height = 0;

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

						FreeImage_OutputMessageProc(format_id, "Error while parsing %s chunk: unexpected end of PNG file", mChunkName);
						break;
					}
					
					// wrap the { IHDR, ..., IEND } chunks as a PNG stream
					if(hPngMemory == NULL) {
						hPngMemory = FreeImage_OpenMemory();
					}

					mOrigPos = io->tell_proc(handle);

					// write PNG file signature
					FreeImage_SeekMemory(hPngMemory, 0, SEEK_SET);
					FreeImage_WriteMemory(g_png_signature, 1, 8, hPngMemory);

					mChunk = (BYTE*)realloc(mChunk, m_TotalBytesOfChunks);
					if(!mChunk) {
						FreeImage_OutputMessageProc(format_id, "Error while parsing %s chunk: out of memory", mChunkName);
						throw (const char*)NULL;

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

					io->seek_proc(handle, Offset, SEEK_SET);
					io->read_proc(mChunk, 1, m_TotalBytesOfChunks, handle);
					// Put back to original pos
					io->seek_proc(handle, mOrigPos, SEEK_SET);
					// write the PNG chunks
					FreeImage_WriteMemory(mChunk, 1, m_TotalBytesOfChunks, hPngMemory);

					// plug in global PLTE if local PLTE exists
					if(m_HasGlobalPalette) {
						// ensure we remove some local chunks, so that global
						// "PLTE" can be inserted right before "IDAT".
						mng_RemoveChunk(hPngMemory, mng_PLTE);
						mng_RemoveChunk(hPngMemory, mng_tRNS);
						mng_RemoveChunk(hPngMemory, mng_bKGD);
						// insert global "PLTE" chunk in its entirety before "IDAT"
						mng_InsertChunk(hPngMemory, mng_IDAT, PLTE_file_chunk, PLTE_file_size);
					}

					if(dib) FreeImage_Unload(dib);
					dib = mng_LoadFromMemoryHandle(hPngMemory, flags);

					// stop after the first image
					mEnd = TRUE;
					break;

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN


						// get a pointer to the IDAT buffer
						FreeImage_AcquireMemory(hIDATMemory, &data, &size_in_bytes);
						if(data && size_in_bytes) {
							// wrap the IDAT chunk as a PNG stream
							if(hPngMemory == NULL) {
								hPngMemory = FreeImage_OpenMemory();
							}
							mng_WritePNGStream(jng_width, jng_height, jng_alpha_sample_depth, data, size_in_bytes, hPngMemory);
							// load the PNG
							if(dib_alpha) {
								FreeImage_Unload(dib_alpha);
							}
							dib_alpha = mng_LoadFromMemoryHandle(hPngMemory, flags);
						}
					}
					// stop the parsing
					mEnd = TRUE;
					break;

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN


			} // switch( GetChunckType )
		} // while(!mEnd)

		FreeImage_CloseMemory(hJpegMemory);
		FreeImage_CloseMemory(hPngMemory);
		FreeImage_CloseMemory(hIDATMemory);
		free(mChunk);
		free(PLTE_file_chunk);

		// convert to 32-bit if a transparent layer is available

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

			
		return dib;

	} catch(const char *text) {
		FreeImage_CloseMemory(hJpegMemory);
		FreeImage_CloseMemory(hPngMemory);
		FreeImage_CloseMemory(hIDATMemory);
		free(mChunk);
		free(PLTE_file_chunk);
		FreeImage_Unload(dib);
		FreeImage_Unload(dib_alpha);

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN


	BYTE buffer[16];

	FIMEMORY *hJngMemory = NULL;
	FIMEMORY *hJpegMemory = NULL;
	FIMEMORY *hPngMemory = NULL;

	FIBITMAP *dib_rgb = NULL;
	FIBITMAP *dib_alpha = NULL;

	if(!dib || (FreeImage_GetImageType(dib) != FIT_BITMAP)) {

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN


		// --- write alpha layer as a sequence of IDAT chunk ---
		if((bpp == 32) && (jng_color_type == MNG_COLORTYPE_JPEGCOLORA)) {
			dib_alpha = FreeImage_GetChannel(dib, FICC_ALPHA);

			hPngMemory = FreeImage_OpenMemory();
			if(!FreeImage_SaveToMemory(FIF_PNG, dib_alpha, hPngMemory, PNG_DEFAULT)) {
				throw (const char*)NULL;
			}
			FreeImage_Unload(dib_alpha);
			dib_alpha = NULL;
			// get the IDAT chunk

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

				DWORD next_pos = 0;
				long offset = 8;
				
				do {
					// find the next IDAT chunk from 'offset' position
					bResult = mng_FindChunk(hPngMemory, mng_IDAT, offset, &start_pos, &next_pos);
					if(!bResult) break;
					
					BYTE *png_data = NULL;
					DWORD size_in_bytes = 0;
					
					// get a pointer to the stream buffer
					FreeImage_AcquireMemory(hPngMemory, &png_data, &size_in_bytes);
					// write the IDAT chunk
					mng_WriteChunk(mng_IDAT, &png_data[start_pos+8], next_pos - start_pos - 12, hJngMemory);

					offset = next_pos;

				} while(bResult);
			}

			FreeImage_CloseMemory(hPngMemory);
			hPngMemory = NULL;
		}

		// --- write a IEND chunk ---
		mng_WriteChunk(mng_IEND, NULL, 0, hJngMemory);

src/Source/FreeImage/MNGHelper.cpp  view on Meta::CPAN

			io->write_proc(jng_data, 1, size_in_bytes, handle);			
		}

		FreeImage_CloseMemory(hJngMemory);
		FreeImage_CloseMemory(hJpegMemory);
		FreeImage_CloseMemory(hPngMemory);

		return TRUE;

	} catch(const char *text) {
		FreeImage_CloseMemory(hJngMemory);
		FreeImage_CloseMemory(hJpegMemory);
		FreeImage_CloseMemory(hPngMemory);
		if(dib_rgb && (dib_rgb != dib)) {
			FreeImage_Unload(dib_rgb);
		}
		FreeImage_Unload(dib_alpha);
		if(text) {

 view all matches for this distribution


Alien-SwaggerUI

 view release on metacpan or  search on metacpan

share/swagger-ui.js.map  view on Meta::CPAN

{"version":3,"sources":["webpack://SwaggerUICore/webpack/universalModuleDefinition","webpack://SwaggerUICore/webpack/bootstrap","webpack://SwaggerUICore/external \"react\"","webpack://SwaggerUICore/external \"immutable\"","webpack://SwaggerUICore/./n...

 view all matches for this distribution


Amethyst

 view release on metacpan or  search on metacpan

factpacks/Linux.fact  view on Meta::CPAN

pmpp => <reply> $who, A Poor Man's Pre-Processor. URL: http://www.zip.com.au/~kev/pmpp/
Pmw => <reply> $who, Python GUI-Widget Toolkit based on Tkinter (Tcl/Tk). URL: http://www.dscpl.com.au/pmw/
png2html => <reply> $who, Converts a PNG image into a web page.. URL: http://www.engr.mun.ca/~holden/png2html.html
png2jpg proxy => <reply> $who, HTTP proxy with png to jpg conversion.. URL: http://www.penguin.cz/~martinmv/index_eng.html
pngcrush => <reply> $who, Optimizer for PNG files that can also delete specified chunks. URL: http://www.xnot.com/pmt/pngcrush/
PngEncoder => <reply> $who, A Java class to convert Java images to a byte-array in PNG format. URL: http://www.best.com/~nessus/pngencoder/
PNGgraph.pm => <reply> $who, Chart-plotting perl module. URL: ftp://ftp.mobile.ru/pub/DISTRIB/PNGgraph-1.11.tar.gz
PNMA => <reply> $who, PNM based plug-in for GIMP with alpha and layering capabilities.. URL: http://cemtach.org/software/pnma/pnma.html
pnmtopng => <reply> $who, PBMplus/NetPBM converters to/from PNG image format. URL: http://www.cdrom.com/pub/png/pngcode.html
pnpmodem => <reply> $who, Simple bourne shell script for setting up ISA plug and play modems. URL: http://linuxmafia.org/~shaded/dist/pnpmodem-0.2.gz
Pocket Frog => <reply> $who, Green Frog Linux for the Mobile Gear. URL: http://www.linuxstart.com/~austin/pocket-frog.html

factpacks/Linux.fact  view on Meta::CPAN

Cawfee CGI SDK => <reply> $who, Cawfee CGI SDK is a CGI library written in C++. URL: http://www.xcheese.org/csoft/cawfeecgi/cawfeecgi-0.1.tar.gz
Blur Scope MAX => <reply> $who, Blur Scope MAX is an offshoot of the Blur Scope that comes with XMMS. URL: http://home1.gte.net/mbardeen/blurscope/blur_scope_max-0.9.1.tar.gz
HPTalx => <reply> $who, HPTalx is a program to transfer files from/to your HP calculator. URL: 
libtiff-lzw-compression-kit => <reply> $who, LZW compression has been removed from libtiff. URL: http://www.libtiff.org/libtiff-lzw-compression-kit.tar.gz
XIPM => <reply> $who, XIPM is a package management and system maintenance utility. URL: http://www.multimania.com/xsodax/main.htm#download
PHP4-Beta3 + Japanese libgd patch => <reply> $who, The Japanese libgd patch is a simple patch to PHP4 Beta 3 to enable use of Japanese and other multibyte characters in dynamic images generated with ImagePng and friends. URL: http://www.ne.jp/asahi/l...
X-RAR => <reply> $who, X-RAR is a front-end to the archiving utility 'rar'. URL: http://twakar.fdns.net/xrar-0.2beta.tar.gz
miffmixr => <reply> $who, miffmixr is a Web-based MP3 jukebox. URL: http://9mm.com/philez/miffmixr.tar.gz
MIT Scheme => <reply> $who, MIT Scheme is an implementation of the Scheme programming language, providing an interpreter, compiler, source-code debugger, integrated Emacs-like editor, and a large runtime library. URL: http://www.swiss.ai.mit.edu/ftpd...
ClanMecha => <reply> $who, ClanMecha is a 2D multiplayer platform game of the mecha genre. URL: http://sourceforge.net/download.php?fileid=1042
gecco => <reply> $who, gecco (GNOME Extensible Configuration COnsole) attempts to provide a common location for system, network and application configuration functions. URL: http://members.tripod.com/veeev/download.html

 view all matches for this distribution


Apache-Wyrd

 view release on metacpan or  search on metacpan

Wyrd/Site/GDButton.pm  view on Meta::CPAN

				$self->_raise_exception('template base image must be PNG or GIF.');
			}
			if (lc($type) eq 'gif') {
				$base_image = GD::Image->newFromGif($template);
			} else {
				$base_image = GD::Image->newFromPng($template);
			}
			my $width = $self->{'width'} = $base_image->width;
			my $width = $self->{'height'} = $base_image->height;
			$image = GD::Image->new($self->{'width'} * 5, $self->{'height'} * 5);
			$image->copyResampled($base_image, 0, 0, 0, 0, $self->{'width'} * 5, $self->{'height'} * 5, $self->{'width'}, $self->{'height'});

 view all matches for this distribution


App-JobLog

 view release on metacpan or  search on metacpan

t/data/big.log  view on Meta::CPAN

2012  6  1  1 29  9:13:6MX
2012  6  1  1 38 18:13:5Jq gL<Pg8| YV|KXsWe }B<QJ$*
2012  6  1  5 40 56:13:< 9dE' $#rHwUfG, ao\;p oy048JR~(D >jkZ0sD0KW~ &:id{{A&hN
2012  6  1  5 51  4:13:SdX69PQxA ]@$\\\;h WPUo% 09WfUXAvq0Qt \\\\e"B AE B<! 8=A#[Fcb~
2012  6  1  7 33 13:13:*(Tsu H"Y!s*'E' Berw6Lb ! 2\\\\
2012  6  1 12 32  4:13:}lPngBXrH% @&
2012  6  1 15 19 37:13:Q!2K! \\\\#gQuOZ 4"(%C:+az:j ^jY9rY
2012  6  1 16 33 15:13:]y~'=5M``_( 31L k@ BPUN=[l[mS\\\\ m1Nd/=[{j WsE)VY^~C]p %4BD ^v4T4yB ,3!zw
2012  6  1 17 15 57:13:_z<zr6L iIsft:k%:bM xZ<| h8vdYu4<xzt
2012  6  1 17 29 49:13:O~J\\\\,(:9g=
2012  6  1 17 33 40:13:64= #$c*(%-%S ]w} M3B Z$T :FaW!rRe#o iHFj46:jU C7

 view all matches for this distribution


App-PDF-Link

 view release on metacpan or  search on metacpan

lib/App/PDF/Link/Icons/MXL.pm  view on Meta::CPAN

EIJ144XZcICNMSpeWcaZjMnmkhDMqHiJMOOIUaw2yjuspJNhkis2pmQAfoR25D8RGIwzqPod
ydPdNe8JEA8+Fnd4o4GfomMVTOgXgg6Oycr/HILCSxdR6x1hTQv1IJptfU9AWaRD+pQye3oy
kmdiRRgfa3LPrbt45+QCz75yCpxFjS2kfatTLs6wAclqcbn1iUkmuyfOxYKVJra9wtVLF4li
x+zWrYxNTiHWZEZuTDoPspzu5HX/ep6AmhTJL+aaZaCy7ARS89GURNvDE/ApgCScFl8ZMiZh
jVqlOTnFzG7h8plT/Ml//T5R7Pgf/8ln2LFlYv0OIDYOg0VckJXSvIMzhVqzvzFOBKsUpK/r
hRNLtVcNfTiOB1kqKEHl34kUdDIeOhsMKkHyTBQNHPngTFAamSPxE1wMxeWrRlBnPMCTGrSW
zU3FFoBTrdR/04EdhZw3KQuWW39zElA5wlIfTWvgQTaT72D1YHt5duDwSvpYBlT6K1q9yEQJ
A3CuBOgq/TGAqgiMj5yURthk77YZDu6f5vXjF7myGGM1yCpDa3UC6QMQSa+zQMBKBWZjMCYk
bEAcdVm+MsfZpUVaU9NMz8zQHJ/wLMkiZzsF51TLZVfVXJmo5254ipHTVENDE1JXLv4i5Ls6
WTWrDxjrPCipzpO7nDUYNVhnUBGa401md+zi8plT/Idv/BAE/vnvPLJ2B6DpQ06II6n6Sv5Q
/JeNC4taMqWYYltuhbJJ73DI3FglERYtEl1s5khUalRy80AvY9hVag0U58X0lK21aBxkTRDp

 view all matches for this distribution


App-RecordStream

 view release on metacpan or  search on metacpan

logos/logo-small.svg  view on Meta::CPAN

       transform="scale(0.1,0.1)"
       id="g12"><g
         transform="scale(4682.4,4502.4)"
         id="g14"><image
           id="image16"
           xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAB58AAAdUCAYAAABwqM6aAAAABHNCSVQICAgIfAhkiAAAIABJREFUeJzs3enPZOeZ3/fvfZZan61XNimqKQ01oqCZ0YwRDGADiT0IkEQvjMR5GwTJ3+A/YBIBCeIEhpEJECAGnCAxEscxJh54RjOGI2k00mijdlGkhhqKokh2k713P2stZ7nvv...
           transform="matrix(1,0,0,-1,0,1)"
           preserveAspectRatio="none"
           height="1"
           width="1" /></g></g></g></svg>

 view all matches for this distribution


App-Relate-Complex

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

t/dat/tree/go.xpm
t/dat/tree/ho.PNG
t/dat/tree/aaa.gif
t/dat/tree/no.png
t/dat/tree/ThreeThreeOnesey.txt
t/dat/tree/so.Png
t/dat/tree/subdir/dir/just_one.txt
t/dat/tree/subdir/nasty.txt
t/dat/tree/subdir/deepdir/groovy.txt
t/dat/tree/subdir/#baaad.txt#
t/dat/tree/subdir/#groovy.txt#

 view all matches for this distribution


App-Test-DWG-LibreDWG-DwgRead

 view release on metacpan or  search on metacpan

SIGNATURE  view on Meta::CPAN

SHA256 1e0a26166a139d673b2853a99bad0662a54a5c53a926ce3d6966862cdf59b6f8 xt/App-Test-DWG-LibreDWG-DwgRead/01-pod_coverage.t
SHA256 82f8a083d8e656c553b74b554f7d5c8333f9a370c7616701bbbaf08b0ed99385 xt/App-Test-DWG-LibreDWG-DwgRead/02-pod.t
-----BEGIN PGP SIGNATURE-----

iQGzBAEBAwAdFiEE7CqvgROezncwcOKionze/HtIOPAFAmjO2MoACgkQonze/HtI
OPB4Gwv8CKAvhcTXuUxZfC6cmfrtICIPlP1mBMf1uDOk+ZPnggTRfK7yQ3BL2F3C
5l58Dk0fudEL5pQZt0U0QAb5MbCfIiYM0VYryM8xekiHx3x7t1ahNwgyZ+uEaEod
wCChScGmIHxL9fem9ohL73z5YqrNRuVOzBqtSxEZVG/7rjjNjxVrfHeZxfegVSPa
6YVIZA1Uv3RF+PxLZk/dHd+KtXoSwHOtoumfVyuh1UEg0VaMRGGOVqIPe+zxZz3D
OiQ1oaPEgccX+bXZbZdsa64VichERamfhomD8q1BcBdmN65UQbqslo+jbPVmULMr
2bmi+rb32pA72/0vicWO41nS/wH5I3bCFnD1qcWTvn5qMs+OID4h1L/bNctR0tm7

 view all matches for this distribution


App-cdnget

 view release on metacpan or  search on metacpan

lib/App/cdnget/Downloader.pm  view on Meta::CPAN

	my $img;
	given ($headers->content_type)
	{
		when ("image/png")
		{
			$img = GD::Image->newFromPngData($response->decoded_content) or $self->throw($!);
		}
		when ("image/jpeg")
		{
			$img = GD::Image->newFromJpegData($response->decoded_content) or $self->throw($!);
		}

 view all matches for this distribution


Archive-Har

 view release on metacpan or  search on metacpan

t/chrome.t  view on Meta::CPAN

          ],
          "cookies": [],
          "content": {
            "size": 16786,
            "mimeType": "image/png",
            "text": "iVBORw0KGgoAAAANSUhEUgAAAKcAAAGaCAYAAABqhVMrAABBWUlEQVR4AeybBXDqaBeGT7e67u7uVkivrEASrq67u7u7sFOg8ru7u/u/Rtfd3d2BOoErFbLvmQ53vpwJ2kKv0Jmnhp+8OR5anr6OC9pNeru1p96RWqhHrOP1SPLoQCh5oNkxvCGgVYsa0/4G5n8702xErFP9keSdIG1EUnYOXoVg7zDC6S0B1...
            "encoding": "base64"
          },
          "redirectURL": "",
          "headersSize": -1,
          "bodySize": 0,

 view all matches for this distribution


AsposeCellsCloud-CellsApi

 view release on metacpan or  search on metacpan

docs/api/ExportChartAsFormat.md  view on Meta::CPAN


```
GET http://api.aspose.cloud/v4.0/cells/{name}/worksheets/{worksheet}/charts/{chartIndex}
```
### **Function Description**
This method processes a chart of spreadsheet directly in cloud storage, converting it to the requested output format (PDF, or Image format) without requiring the file to be downloaded to the local machine. The operation relies on valid cloud storage ...

### The request parameters of **exportChartAsFormat** API are: 

| Parameter Name | Type | Path/Query String/HTTPBody | Description | 
| :- | :- | :- |:- | 

 view all matches for this distribution


AsposeImagingCloud-ImagingApi

 view release on metacpan or  search on metacpan

lib/AsposeImagingCloud/ImagingApi.pm  view on Meta::CPAN

	my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
    return $_response_object;
    
}
#
# PostImagePng
#
# Update parameters of png image.
# 
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true – they will be taken from default values for standard image, if it is false – they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param File $file  (required)
# @return ResponseMessage
#
sub PostImagePng {
    my ($self, %args) = @_;

    
    # verify the required parameter 'file' is set
    unless (exists $args{'file'}) {
      croak("Missing the required parameter 'file' when calling PostImagePng");
    }
    

    # parse inputs
    my $_resource_path = '/imaging/png/?appSid={appSid}&amp;fromScratch={fromScratch}&amp;outPath={outPath}';

lib/AsposeImagingCloud/ImagingApi.pm  view on Meta::CPAN

	my $_response_object = $self->{api_client}->pre_deserialize($response->content, 'ResponseMessage', $response->header('content-type'));
    return $_response_object;
    
}
#
# GetImagePng
#
# Update parameters of png image.
# 
# @param String $name Filename of image. (required)
# @param Boolean $fromScratch Specifies where additional parameters we do not support should be taken from. If this is true – they will be taken from default values for standard image, if it is false – they will be saved from current im...
# @param String $outPath Path to updated file, if this is empty, response contains streamed image. (optional)
# @param String $folder Folder with image to process. (optional)
# @param String $storage  (optional)
# @return ResponseMessage
#
sub GetImagePng {
    my ($self, %args) = @_;

    
    # verify the required parameter 'name' is set
    unless (exists $args{'name'}) {
      croak("Missing the required parameter 'name' when calling GetImagePng");
    }
    

    # parse inputs
    my $_resource_path = '/imaging/{name}/png/?appSid={appSid}&amp;fromScratch={fromScratch}&amp;outPath={outPath}&amp;folder={folder}&amp;storage={storage}';

 view all matches for this distribution


AsposeSlidesCloud-SlidesApi

 view release on metacpan or  search on metacpan

lib/AsposeSlidesCloud/Object/PdfExportOptions.pm  view on Meta::CPAN

    	format => '',
    	read_only => '',
    		},
    'save_metafiles_as_png' => {
    	datatype => 'boolean',
    	base_name => 'SaveMetafilesAsPng',
    	description => 'True to convert all metafiles used in a presentation to the PNG images.',
    	format => '',
    	read_only => '',
    		},
    'password' => {

lib/AsposeSlidesCloud/Object/PdfExportOptions.pm  view on Meta::CPAN

    'compliance' => 'Compliance',
    'sufficient_resolution' => 'SufficientResolution',
    'jpeg_quality' => 'JpegQuality',
    'draw_slides_frame' => 'DrawSlidesFrame',
    'show_hidden_slides' => 'ShowHiddenSlides',
    'save_metafiles_as_png' => 'SaveMetafilesAsPng',
    'password' => 'Password',
    'embed_true_type_fonts_for_ascii' => 'EmbedTrueTypeFontsForASCII',
    'additional_common_font_families' => 'AdditionalCommonFontFamilies',
    'slides_layout_options' => 'SlidesLayoutOptions',
    'image_transparent_color' => 'ImageTransparentColor',

 view all matches for this distribution


Audio-C4Stream-Wav

 view release on metacpan or  search on metacpan

lib/Audio/C4Stream/Wav.pm  view on Meta::CPAN

	my $ampl = shift;

	return 20 * &_log10( $ampl / MAX_AMPL );
}

sub getPngData {
	my $this = shift;

	my $read = $this->{_read};

	my $wavDraw = WAV_init_draw(

lib/Audio/C4Stream/Wav.pm  view on Meta::CPAN


The functions are :

=over 7

=item C<getPngData> 

Get the sine wave graphic of the WAV data

=item C<getNextData> 

lib/Audio/C4Stream/Wav.pm  view on Meta::CPAN

	gdImageLine(im, 1, mlimit2 + height / 8 + 1, width - 2, mlimit2 + height / 8 + 1, gdStyled);
	gdImageLine(im, 1, mlimit2 - height / 8 + 1, width - 2, mlimit2 - height / 8 + 1, gdStyled);
	gdImageLine(im, 1, mlimit1 + height / 8 - 1, width - 2, mlimit1 + height / 8 - 1, gdStyled);
	
	
	png_ptr = gdImagePngPtr(im, size);

	lseek (draw->reader->fd, pos, 0);
	
	return png_ptr;

 view all matches for this distribution


Barcode-Code128

 view release on metacpan or  search on metacpan

t/png.t  view on Meta::CPAN


     my $code = new Barcode::Code128;

     my $test = $code->png("CODE 128");

     my $good = GD::Image->newFromPng('t/code128.png');
     my $image = GD::Image->newFromPngData($test);

     for (my $x=0; $x< $image->width; $x++)
     {


 view all matches for this distribution


Bencher-ScenarioBundle-Accessors

 view release on metacpan or  search on metacpan

lib/Bencher/Scenario/Accessors/GeneratorStartup.pm  view on Meta::CPAN


The above result presented as chart:

=begin html

<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtAAAAH4CAMAAABUnipoAAAJJmlDQ1BpY2MAAEiJlZVnUJNZF8fv8zzphUASQodQQ5EqJYCUEFoo0quoQOidUEVsiLgCK4qINEWQRQEXXJUia0UUC4uCAhZ0gywCyrpxFVFBWXDfGZ33HT+8/5l7z2/+c+bec8/5cAEgiINlwct7YlK6wNvJjhkYFMwE3yiMn5...

=end html


To display as an interactive HTML table on a browser, you can add option C<--format html+datatables>.

 view all matches for this distribution


Benchmark-Perl-Formance-Cargo

 view release on metacpan or  search on metacpan

share/SpamAssassin/spam/0317.0bea188e5bd639ae421f07b3ad68c5e0  view on Meta::CPAN

p9FLnlvvlJG9kCvmfPKio4lHpa271xN9Igs0WlTzSvjyQFki0wRFgWXY+gbobjsizHlkAPazb9YH
cc8cUz/+t3pwnYL0bIGFwn2ADApLaWMG6zBjyGgzUizr0FEZwVWqWwxVa7UjOwb6vsYSswQxsP/X
+WkLhOqDkEkcY0VUxGI6BC8RXstS2thBfV8yarhnJyZlGaZHXKU6aKhaizUpOD670x1cJCGfTztt
uI1BXEVifAoFRV5KEqr2HCmUBPcilPAn/cV3cpzUWyyclgyAHRPhyq/gnCq+6huGqrWKX2I8ZBfA
HHmALSYDD30PA7unFvFTc+ggz2O3169SK+SK+xCavSVtL74ALWaw4slo7ymhir/8TpJW/aIxMO3H
zzzkaMQmPngeDyPsKLrnA34I90QRFZxGe0bM/uTA7puNa0QFplN6hDyvTfmLn9S1TZ9kWFLov/Q3
7kSKeBmJFF9VO4aqtSpbVKJL6IMj7np1imP05L+G5SfEKOq6eQr5qUOWZD13Xe4Xi7jii5tkPsEX
A/ZzvSvyisG0Ex7hZ/Xa0dUfhg1VZ6hlnm57OzLXb1KPo0G1F1s7ZLMYR/boJHoDb7enywr3CD2N
0ImOlF0uCmz0Hh2EmGFUlLJHn/HoqtYbNFSdqXhn98N47LpExv1H0AHqfS0ne/gwCsfmYIffjsfq
/rLC/UM4XfTLEjT+ySxp0ccJftGgjcn3Z4fKpdVx02+oermBqyNCPE72gHoefOdz0RuRGET2+KTy
Wbtkh2WG+704r0JJOyya38d18QVKhltblrLzrLmpVaUJG6rOOLkYxS9wLwzrt//R1pHbG9FOyEcR

 view all matches for this distribution


Bio-Graphics

 view release on metacpan or  search on metacpan

lib/Bio/Graphics/Glyph/image.pm  view on Meta::CPAN

  my ($format,$image)   = eval { $self->image_data };
  unless ($image) {
    warn $@ if $@;
    return;
  }
  my $gd      =   $format eq 'image/png'  ? GD::Image->newFromPngData($image,1)
                : $format eq 'image/jpeg' ? GD::Image->newFromJpegData($image,1)
		: $format eq 'image/gif'  ? GD::Image->newFromGifData($image)
		: $format eq 'image/gd'   ? GD::Image->newFromGdData($image)
		: $format eq 'image/gd2'  ? GD::Image->newFromGd2Data($image)
		: $self->throw("This module cannot handle images of type $format");

 view all matches for this distribution


( run in 2.054 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )