hello guys its been a while since my last question here :P am working right now on PHP script to upload and convert video files to several resolutions ( 360 - 720 ), here a piece of my php code to convert move_uploaded_file($file_tmp, 'upload/'.$fileName); add_to_queue($time,"360-".$fileName,$status="pending"); //where add_to_queue is simple function to add these information to queue table $cmd = 'ffmpeg -i upload/'.$fileName.' -vf scale=480:360 -c:v libx264 -q:v 1 -strict experimental -c:a aac -b:a 160k convert/360-'.$fileName.' >/dev/null 2>/dev/null &'; shell_exec($cmd); now everything here is ok and working great, but I need to check if the video encoding is completed and update …

Member Avatar
Member Avatar
+0 forum 1

Title pretty much says it all. I want a background image to have a linear gradient fade to transparent. I've faded the image out to a color by overlaying a gradient on top of it, which unfortunately would only help me if my site background is a solid color. (see codepend example) I tried to use an image in place of a color value :p No such luck. Anyone have any ideas? https://codepen.io/anon/pen/wzArAN

Member Avatar
Member Avatar
+0 forum 2

Sometimes there are functions you want your program to perform in the background while you are busy doing other things. For example, if you are building a picture viewer application you may not want to wait until thumbnails are generated before getting on with the business of viewing the pictures. If you have ever used the [FastStone Image Viewer](http://www.faststone.org/FSViewerDetail.htm) you will have noticed the progress bar at the bottom of the screen when browsing to a new folder. That bar shows the progress of a background thread which is busy scanning the current folder. If you try to change the …

Member Avatar
Member Avatar
+3 forum 2

I created this website: http://valerobrothers.com/ Try narrowing the width of your browser enough so that a scroll bar appears at the bottom of the browser. Notice how when you scroll left/right parts of the background disappear? Does anyone understand why this happens and what a fix might be?

Member Avatar
+0 forum 0

Hi I'm try to change the background of the matched by a Regex text. Example: input: aaa aaa aaa //double white spaces in between output: aaa aaa aaa //change the background of all matched white spaces to red But it's coloring the wrong text. I have tried and searched google for some days, but with no luck. If I can get some help i'll be very grateful .This a WPF project in VS2013. rtbClipboardContent is a RichTextBox. The code I tried: MatchCollection matches = Regex.Matches(text, RegexExpression); rtbClipboardContent.Document.Blocks.Add(new Paragraph(new Run(text))); foreach (Match m in matches) { TextPointer start = rtbClipboardContent.Document.ContentStart.GetPositionAtOffset(m.Index, LogicalDirection.Forward); …

Member Avatar
Member Avatar
+0 forum 5

Hello guys i have problem with my app, its all done but just need one more thing.. to run in background so it can start the alarm and send notification to the user... i saw much tutorials on internet but damn it i can't understand it is there some good men/woman to help me ?

Member Avatar
Member Avatar
+0 forum 1

Hi I got a quick question. Is there any way i can change the background color and the text color within my compiler of dev-c++. I'm not trying to change the color of the output when I run the program, I'm talking about the actual code itself and its compiler. I'm using Dev-C++ 4.9.9.2

Member Avatar
Member Avatar
+0 forum 5

Hi, I made this code shown below to display a background image. It is possible to make it fixed for all resolution without showing white background? CSS code: body { background-attachment: fixed; background-image: url(../layout/background.jpg); position: absolute; min-height: 768px; min-width: 1024px; } Thanks marifard

Member Avatar
Member Avatar
+0 forum 4

Run two calls to a function simultaneously with this threading @background decorator.

Member Avatar
Member Avatar
+5 forum 19

I need to change the background image of a button that is declared in xaml, like this: <Button x:Name="btnBorder" Content="Moldura" Width="80" Height="80" Margin="10,6,10,6" Click="btnBorder_Click" > <Button.Background> <ImageBrush ImageSource="/Images/arrow-expand.png" AlignmentX="Center" Stretch="None" x:Name="imgSourceArrow" /> </Button.Background> </Button> and I'm trying to change the ImageSource of the ImageBrush. For that, I'm using this code in the code-behind: ImageBrush imgb = new ImageBrush(new BitmapImage(new Uri("/Resources/arrow-expand.png"))); W.btnBorder.Background = imgb; But when I run the Application, I get an error "UriFormatException was unhandled", "Invalid Uri"... How can I reference the "arrow-expand.png" image inside the resources and transform it into an Uri String to be passed into the …

Member Avatar
Member Avatar
+0 forum 1

Hi, evry1.. i need yur help.. i want to place an image as my background.. how am i supposed to do it..?? i have tried this `setBackground("C:\\image\\background.jpg");`i also tired this `Icon m1 = new ImageIcon("C:\\New folder (5)\\background.jpg");lb1.setIcon(m1);` But none of this is working.. what shuld i do???

Member Avatar
Member Avatar
+0 forum 11

I have been looking for a solution to isolate markings and have not found anything on the internet that is close to for what I am looking. I am trying to isolate the markings in a series of pictures. I have one, unmarked image. I then have a series of identical images with markings. I would like to remove the original image from the succeeding images leaving only the markings "floating" on a white background. I have removed the color from the images, but that leaves the black and white original markings. I am looking for any hints, ideas, comments, …

Member Avatar
Member Avatar
+0 forum 5

background-image:url('walltheme.jpg') ;

Member Avatar
Member Avatar
-5 forum 12

I have a div that has an image as its background. But the image only covers up about 80% of the screen. I want to make the extra 20% of the screen to be black but its only coming up as white. How can I set the background images and the background color? This is my css, #first_section_main{ top:77px; min-width:1000px; width:100%; position:relative; height:500px; background-color:#3d3d3d; background: url(../images/first_section_bg.jpg) no-repeat center center; } How can I make the background color #3d3d3d?

Member Avatar
Member Avatar
+0 forum 2

Do anyone know how to set a gif image as the background to my coding below? I just want it for my first window and not Demo1? The gif image is nameed "python_wallpaper.gif". from tkinter import * import threading from graphics import * class Intro(): def __init__(self,master): self.master = master self.master.geometry("800x600") self.master.title("Welcome") self.label1 = Label(self.master,text ="Event Driven Programming Demonstration", fg = "blue", font = ("Purisa",22)).grid(row =6,column = 7) self.label2 = Label(self.master,text ="Program will auto-start in 5 seconds (or press the return key)", fg = "black").grid(row =7, column =7) self.master.bind("<Return>", self.goToDemo1) def goToDemo1(self): threading.Timer(5.0, goToDemo1).start() root2 = Toplevel(self.master) myGUI = Demo1(root2) …

Member Avatar
Member Avatar
+0 forum 2

I am trying to insert a background image but for some reason when I put this... html{ background-image: url('images/background.png'); background-repeat:no-repeat; background-size:100% 100%; } It doesn't seem to work, it stays blank. I know I have the path correct and the name correct I have only gone over it a million times, but when I put this... html{ background-image: url('http://i.imgur.com/GRqXyR1.png'); background-repeat:no-repeat; background-size:100% 100%; } The background comes up fine. I am confused I don't understand why the first method isn't working?

Member Avatar
Member Avatar
+0 forum 8

I'm trying to set up a timer that counts up to ten and starts/resets when the left mouse button is clicked (anywhere on the screen even when the application is in the background). I'm struggling to find a code that suggests it is possible and now I am starting to wonder even if it is possible in VB? Any help would be much appriciated. Thank you.

Member Avatar
Member Avatar
+0 forum 5

Hey im trying to run background music when the user clicks the button. below is my coding. when i run the program, it says file cannot be found. any help would be appreciated [CODE]import javax.swing.*; import sun.audio.*; import java.awt.event.*; import java.io.*; public class Sound { public static void main(String[] args) { JFrame frame = new JFrame(); frame.setSize(200,200); JButton button = new JButton("Clcik me"); frame.add(button); button.addActionListener(new AL()); frame.show(true); } public static class AL implements ActionListener{ public final void actionPerformed(ActionEvent e){ music(); } } public static void music(){ AudioPlayer MGP = AudioPlayer.player; AudioStream BGM; AudioData MD; ContinuousAudioDataStream loop = null; try{ BGM …

Member Avatar
Member Avatar
+0 forum 24

how do i change the background to a custom one. code JButton button = new JButton(); JButton quit = new JButton(); public Mainmenu() { Icon b = new ImageIcon(getClass().getResource("play.jpg")); play = new JButton(playb); add(button,BorderLayout.CENTER); Icon quitb = new ImageIcon(getClass().getResource("quit.jpg")); quit = new JButton(quitb); add(quit,BorderLayout.SOUTH); button.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { } }); quit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { dispose(); } }); }

Member Avatar
Member Avatar
+0 forum 3

Hi, I am using a responsive website to make a site which is here - http://rwgraphicdesign.com/Smith/index2.html What I want to do is have the last column ONLY, which lists the locations the Dr. performs exams at, to have a different background color. I have tried a bunch of different things but nothing unless it changes all the column backgrounds. Any help?

Member Avatar
Member Avatar
+0 forum 5

Hello, is it possible to create a website that can **receive a command/word from the user**, and then **search other websites **for a file associated with that word? The file it provides would be based on selecting the file based on a set of **pre-defined criteria**. So the site would have to perform scanning/selecting actions in the background while outputting simply the file result to the user. Can a site perform these background operations such as scanning other sites then selecting a file? I’m very new but eager to learn and excited to read your replies, thank you.

Member Avatar
Member Avatar
+0 forum 2

As part of a project to manage my collection of photos, I wanted to add the capability of displaying a series of files as thumbnails. This posed me with three problems: 1. how to preserve the aspect ratio of the original images 1. how to generate the thumbnails without tying up the application 1. how to avoid running out of memory Because generating thumbnails of images is (I think) of reasonably wide interest I thought I'd write it up as a code snippet. To recreate the project, start with a blank form and add two buttons, btnDetails and btnThumbs. Add …

Member Avatar
Member Avatar
+3 forum 6

Hi dear all i am new in java i don't know how identify the background and foreground color of image if any have idea please help thanks in advance

Member Avatar
Member Avatar
+0 forum 2

Hello programmers! I am a beginner in html using the w3 school website help as a guide. Currently, I am working on an excercise website. The code is as following: <!DOCTYPE html> <html> <title><head> ------- Website </head></title> <body bgcolor= #FFCCFF BACKGROUND="background.gif"> <h1> What This Site Is All About: </h1> <hr SIZE="2" COLOR="BLACK" WIDTH="50%" ALIGN="LEFT"> <p1 align="justify"> This is intended to be a semi-professional website for -------- by displaying <br> his resume for those interested in employing him and by sharing personal stories for the viewer's enjoyment.<br> If you are a member of the <b> NSA</b>, you probably know everything about …

Member Avatar
Member Avatar
+0 forum 14

I've got a JTable called chances_T full of doubles ranging from 0 to 100. I'm trying to set the background color of each cell based on the cell's value. So I built a custom cell renderer: class CustomRenderer extends DefaultTableCellRenderer { @Override public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { Component c = super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); double chance = Double.parseDouble(String.valueOf(value)); if (chance > 80) { c.setBackground(Color.green); console_TA.append("Worked!\n"); } else if (chance >= 50 && chance < 80) { c.setBackground(Color.yellow); } else if (chance >= 25 && chance < 50) { …

Member Avatar
Member Avatar
+0 forum 8

Hello! I would like to create a clickable backround for my IPB forum board. It will act as a banner and when clicked, it will redirect to the advertiser webpage. Here's the AdOcean demo of what I would like to create: http://demo.adocean-global.com/main.php?x=BI&y=Background%20Image Please, give any advice on how to implement such function on IPB board. Thanks in advance!

Member Avatar
Member Avatar
+0 forum 2

does anyone know how to make a website that has a background that changes every time you go to the home page just like the tumblr home page.

Member Avatar
Member Avatar
+0 forum 2

I have an image I would like to have it's transparancy change from 0 to 100% over about 5 seconds on page load. Any suggestions would be most appreciated. I just can't seem to get the css code right. Do I need to use javascript? Doesn't html5 do this easily? Thanks/Hal

Member Avatar
Member Avatar
+0 forum 3

Hello, I am looking for html codes to change the css background. Is the following codes correct? index.html <div id="demos"> <div id="slideshow" class="pics"> <img style="background-image: url('../images/indonusa1.jpg');"> <img style="background-image: url('../images/indonusa2.jpg');"> <img style="background-image: url('../images/indonusa3.jpg');"> </div> <ul id="nav"> <li><a href="#"></a></li> <li><a href="#"></a></li> <li><a href="#"></a></li> </ul> </div> Thanks before.

Member Avatar
Member Avatar
+0 forum 3

im trying to put an image in the background of my form so that it cptures full screen n i donno how to dp that. my code is follows: Me.BackgroundImage = System.Drawing.Image.FromFile("school.jpg")

Member Avatar
Member Avatar
+0 forum 6

The End.