Float irregular images on your Web pages with pngslice


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Float irregular images on your Web pages with pngslice
# 1  
Old 10-15-2008
Float irregular images on your Web pages with pngslice

10-15-2008 01:00 AM
Web sites that run text squarely around images even when the images don't have even borders look a little lazy. pngslice slices an image into thin vertical images and generates a small chunk of HTML to align these slices so that the original image can be seen in a Web browser. This lets you place non-rectangular floating images on Web pages and align the surrounding text to the uneven borders of the image for a professional-looking layout.



Source...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Get web pages and compare

Hello I'm writing a script to get content of web pages on different machines and compare them using their md5 hash hear is my code #!/bin/bash # Cluster 1 CLUSTER1_SERVERS="srv01:7051 srv02:7052 srv03:7053 srv04:7054" CLUSTER1_APPLIS="test/version.html test2/version.html... (2 Replies)
Discussion started by: gtam
2 Replies

2. Shell Programming and Scripting

Get web pages and compare

Hello, I'm writing a shell script to wget content web pages from multiple server into a variable and compare if they match return 0 or return 2 #!/bin/bash # Cluster 1 CLUSTER1_SERVERS="srv1 srv2 srv3 srv4" CLUSTER1_APPLIS="test/version.html test2.version.jsp" # Liste des... (4 Replies)
Discussion started by: gtam
4 Replies

3. Shell Programming and Scripting

Checking Web Pages?

Hey guys, Unfortunatley, I can not use wget on our systems.... I am looking for another way for a UNIX script to test web pages and let me know if they are up or down for some of our application. Has anyone saw this before? Thanks, Ryan (2 Replies)
Discussion started by: rwcolb90
2 Replies

4. UNIX for Dummies Questions & Answers

curl command with web pages

I can't quite seem to understand what the curl command does with a web address. I tried this: curl O'Reilly Media: Tech Books, Conferences, Courses, News but I just got the first few lines of a web page, and it's nowhere on my machine. Can someone elaborate? (2 Replies)
Discussion started by: Straitsfan
2 Replies

5. Shell Programming and Scripting

Investigating web pages in awk

hello. i want to make an awk script to search an html file and output all the links (e.g .html, .htm, .jpg, .doc, .pdf, etc..) inside it. also, i want the links that will be output to be split into 3 groups (separated by an empty line), the first group with links to other webpages (.html .htm etc),... (1 Reply)
Discussion started by: adpe
1 Replies

6. UNIX for Dummies Questions & Answers

Selecting information from several web pages...

Hi All! Is this possible? I know of several hundreds of urls linking to similar looking hp-ux man pages, like these. In these urls only the last words separated by / are changing in numbering, so we can generate these... http://docs.hp.com/hpux/onlinedocs/B3921-90010/00/00/31-con.html... (2 Replies)
Discussion started by: Vishnu
2 Replies

7. Shell Programming and Scripting

Count links in all of my web pages

Counts the number of hyperlinks in all web pages in the current directory and all of its sub-directories. Count in all files of type "*htm" and "*html" . i want the output to look something like this: Total number of web pages: (number) Total number of links: (number) Average number of links... (1 Reply)
Discussion started by: phillip
1 Replies

8. UNIX for Dummies Questions & Answers

Dynamic web pages for Unix Web Server

Hi, my company is considering a new development of our web site, which used to run on Apachi over Solaris. The company who is going to do this for us knows only about developing it in ASP. I guess this means we'll have to have another ISS server on NT for these dynamic pages :( What are... (5 Replies)
Discussion started by: me2unix
5 Replies
Login or Register to Ask a Question
mlib_ImageBlendMulti_Fp(3MLIB)				    mediaLib Library Functions				    mlib_ImageBlendMulti_Fp(3MLIB)

NAME
mlib_ImageBlendMulti_Fp - blend multiple images SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageBlendMulti_Fp(mlib_image *dst, const mlib_image **srcs, const mlib_image **alphas, const mlib_d64 *c, mlib_s32 n); DESCRIPTION
The mlib_ImageBlendMulti_Fp() function blends multiple source images, using multiple alpha images, into a single destination image. All images involved should have the same data type and same size and the source and destination images should have the same number of chan- nels. The alpha images should have either 1 channel or the same number of channels as the sources and destination. A single-channel alpha image would be applied to all channels of the corresponding source image. Single and multi-channel alpha images can be mixed in the same invocation. It uses the following equation: n-1 SUM {alphas[k][x][y][j] * srcs[k][x][y][i]} k=0 dst[x][y][i] = --------------------------------------------- n-1 SUM {alphas[k][x][y][j]} k=0 or n-1 dst[x][y][i] = c[i] if SUM {alphas[k][x][y][j]} = 0 k=0 where j = i for multi-channel alpha images; j = 0 for signle-channel alpha images. PARAMETERS
The function takes the following arguments: dst Pointer to destination image. srcs Pointer to an array of source images. alphas Pointer to an array of alpha images. c Background color. n Number of source images to be blended. RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_ImageBlendMulti(3MLIB), mlib_ImageBlend(3MLIB), mlib_ImageBlend_Fp(3MLIB), attributes(5) SunOS 5.11 2 Mar 2007 mlib_ImageBlendMulti_Fp(3MLIB)