Programming :: How To Obtain Image From ZImage
Aug 6, 2010
I have obtained zImage from uImage by using this script http://buffalo.nas-central.org/wiki/...ract_an_uImage
Then I used the zlib library from www.zlib.net and the accompanying zpipe.c file to uncompress zImage but I am getting this error
zpipe: invalid or incomplete deflate data
Am I on the right path? My aim is to obtain completely uncompressed Image.
View 8 Replies
ADVERTISEMENT
May 19, 2010
I have a Norton Ghost .gho file, and basicly I want to extract the raw image out of this, for example to use with with tools like dd. (So using any symantec/windows tools is not an option). Is there any open source tool which can deal with these .gho files ?
(Note: the.gho file I'm using is a sector based one, and not a file-based one, which implies that things such as Ghost explorer won't work either (see this page)
View 1 Replies
View Related
Jun 11, 2010
I want to get vmlinux from zImage, i know it's compressed,
Is there any script or utility that can do that?
View 3 Replies
View Related
Mar 26, 2009
I'm using kernel 2.6 (RED hat ver 4), i have source code for kernel 2.6 , and i want to build zImage to my Board PXA 255 (architecture = arm)XScale;
can any body give the steps how to build the zImage to arm architecture; do i need the tool chain , and my system has gcc 3.4.6,if any fields are required pls notify me, m newbie to linux
View 2 Replies
View Related
Dec 8, 2010
I have grepped a log file to obtain every line that contains a word (let's call it 'blah'). I now want to only display a list of entries within that search result that feature the word 'host' anywhere in the line, and I also want to display the single word *after* 'host' (up until the next space). So, the end result will look like this:
[Code]....
View 8 Replies
View Related
Sep 26, 2010
Let assume that we have the following situation: we have a sound in the speaker systems or in earphones, maybe we play an audio CD, some mp3's or maybe a movie, etc.
All I know is that the sound goes through sound card to speaker system or in earphones, no matter the source.
How can I obtain the audio stream that I hear in speaker system or in earphones?
I would like to write an application that record and analyze the audio stream that I hear in my speaker system or in earphones. My OS is Ubuntu 10.04.
If you have a recommendation like "try to use ALSA", please provide more details like "in alsa-utils you have a class Class_Name, with the following function Funcation1, etc. Try to use the Function5 as in the following example".
View 1 Replies
View Related
Nov 24, 2010
I have just exported 3 png files out of gimp for a html document I'm working on right now, and they are all almost the same, except I need each to load when the user does something. So the first image will display on the page, and when a user puts their cursor over it, then it will load image 2. When they press it, it loads image 3.
View 1 Replies
View Related
Feb 17, 2009
How to re-direct image
View 1 Replies
View Related
Mar 25, 2010
how can i do image rescaling in sdl. i m receiving the RGB image of 640*480,i have to change it to 352*288 while displaying in sdl...is there any direct api to change it.
View 1 Replies
View Related
Mar 13, 2009
I am trying to get the metadata out from an image file in python. I have tried using PIL but it does not give me the data I am looking for (mostly just got a bunch of hex code) and I have no idea how to use ImageMagick, the python module is poorly documented and I can't find any examples on the net.The info I need is stuff like camera model, if flash was used, focal length, exposure time, date, etc.. pretty much the same info I get when I look at the "Image" tab on properties in Nautilus on Ubuntu.
What I am doing is writing a script that will iterate through a lot of pictures and put all this metadata into MySQL. I chose python since it is simple and I am familiar with it. But I can't find a good way to get that metadata from within python.
View 2 Replies
View Related
Jan 11, 2010
I am trying to write a small gtk+-2 program to display whatever image it is given and I was wondering if anyone out there has done something similar. I am not too familiar with writing programs for gtk and its been a while since I've fiddled with C. I went over the tutorial for gtk and it seams pretty easy to get a window to display, but I do not see anything that refers to loading an image or displaying it in the window. I am wondering if this can be done purely with gtk or will I need to use some type of image library like imlib2?
View 3 Replies
View Related
Feb 19, 2011
I'm trying to send an image (which can vary in file size) from a python server to an android client . I'm not getting any errors and the file is being created client side however it always seems to fall short of the total file size. I have tried many different options in regards to input streams and buffer sizes but I have had no luck.
View 1 Replies
View Related
Jan 30, 2009
I am running into a small bit of difficulty with images I want to use in a Java program, keeping them bundled with the program in a JAR file and accessing them within the package.For those who are thinking it, this is definitely not homework.In my program, I have several images I would like to use on buttons on a toolbar.I have Googled, and I found something that comes close, but it deals with fetching images from a URL - nothing that deals with local files, more specifically, local images kept inside of a JARchive.
View 3 Replies
View Related
Jul 19, 2011
I am learning some Java programming, and I've run into a problem. I am trying to set a background for JFrame, so that I can put text and buttons on it. I've tried searching the internet, and the only code that I found that was a full code (I lost it, and don't remember the link) had so much other stuff, such as text and buttons, that I couldn't find the part I needed.
View 4 Replies
View Related
Jun 2, 2010
im trying to learn javascript. so i choose to start out making a image slideshow banner that auto scrolls on load no special buttons. so since i had no idea were to start i found code that was free to use commercial and non commercial and ill be able to change it. heres that code:
Code:
var SLIDETIMER = 3;
var SLIDESPEED = 3;
[code]....
View 2 Replies
View Related
Mar 3, 2010
I could easily paste images on each other in Python through PIL (Python Imaging Library)
Now I need to use Cairo with C++ for the above purpose.I have referred the following but couldn't ge
View 5 Replies
View Related
Feb 27, 2010
I did a perl/cgi script for uploading image. The script works, image is iploaded in upload directory, but the problem is: How can I to load and show image in web page?
View 12 Replies
View Related
Jun 10, 2011
I am trying to set up a webpager that contains a background of the skylouds uperimposedin the center will be an image of an airplane with a transparent background.I want the sky to scroll continuously to the left behind the airplane. I am having problems with the background not being visible, not moving as expected, the airplane not being visible, and just disappointment in general.I think the background of a div will not be visible if there are no internal contents because it will be sized to zero. So I introduced another transparent image to force the size of the main div. Still no joy.Here is my code. Note that I don't have my timers set up yet, just a button to test background movement.
Code:
<!DOCTYPE html>
<html>
[code]...
View 2 Replies
View Related
Jan 30, 2010
I have a 2GB file which is a dd image of a block device. The block device (a USB-connected flash memory) contains multiple partitions, and therein lies the problem. I want/need to access the various partitions in the image file, but need to do this without actually using a physical flash memory device. If the image was that of a single partition, I could simply mount it on a loop device, and access the filesystem as necessary. However, I can find no kind of virtual block device upon which to write/mount the image.
I've searched the net exhaustively for anything that would seem to allow me to do what I need, but without even a sniff of success. Sadly, I have seen bits of information that suggest "you can't get there from here". Even the outstanding dd tutorial by AwesomeMachine on LQ didn't help. Anyone know of a kind of virtual block device on which a multi-partition image can be written and mounted? Or any other way I can access individual partitions (with various filesystem types on each) and then re-assemble them back to a single image?
View 2 Replies
View Related
Jul 14, 2010
I'm running Linux version 2.6.33.4 on an ARM9 and can successfully copy directly into the framebuffer using the command:
Code:
cat /usr/myfile.bin >/dev/fb0
I converted myfile.bin from a 640 x 480 x 24 bmp.
What I'd like to do is to have the ability to dump .bin image files directly into the framebuffer from a C program without shelling out to a cat command.
View 3 Replies
View Related
Jul 20, 2010
I have a few small still images of around 300 bytes each that I created under Windows many years ago, I'd like to:
1) change the colour of some pixels on each and
2) make them the exact same size but I do not want to learn Gimp to do this since I have no other use for it.
Could someone show me the sequences of commands in Gimp GUI that will do the job?
View 4 Replies
View Related
Feb 1, 2010
I need to make an image in drawing area move. I have a GdkPixmap which stores image of the drawing area. How can i copy a rectangle part inside GdkPixmap to other coordinates?
View 1 Replies
View Related
Feb 11, 2010
This would eventually use some coding to make it afterwards in a format : in this format:
Quote:
AUTORUN.INF 99 1999.10.28 18:56.58
CLUF.TXT 19979 2000.1.27 7:17.18
DTPSTUB.EXE 24576 1999.8.4 0:15.52
EBE00.CD1 0 1999.10.28 18:57.0
EULA.INI 749 2000.1.12 7:14.56
[Code]...
View 1 Replies
View Related
Mar 28, 2011
The Project is for writing a generic program which extracts list of applications that is running on Unix, and for each application, determine if it has a corresponding graphical UI interface, is so, the program should be able to grab the UI into a image bitmap. The program should be able to run in any Unix UI framework, such as CDE, KDE, X, Motif, et al.
View 2 Replies
View Related
Apr 11, 2010
I can get a dynamic image to display in my webpage<td><img src="<? echo image.php" ;?>"where image.php is some ones example that outputs some characters to screen.All works fineBut the site is ssl,and It wont load the "foreign" object for security reasons.I was wondering I cURL could trick the browser into thinking that the image source is still on the same serverlike
<?php
$remote = 'https://example.com/image.php';
curl_setopt($ch, CURL_SSL_VERIFYPEER,0); // for testing
[code]....
View 1 Replies
View Related
May 14, 2011
I want to build a simple OCR program and I was wondering what library to use. The images are saved on my hdd as colour .png files, i won't be using any effects on them but I will be working with pixels a lot, so direct access to them would really be great.So I was curious if there's a lib that provides direct access to individual pixels and pretty much nothing else (libpng, devIL or QImage from qt are all good but each has it's downfalls).
View 8 Replies
View Related
Jan 4, 2014
I have a problem for which I imagined a radical solution. Okay, I have a script that uses Alltray's "menu" feature as an interface. It's working greatly, EXCEPT sometimes lxpanel (the panel and tray of LXDE) has a hiccup and restarts, at which point the alltray menu is still running, but the icon is gone from the tray.
I want to somehow test the screen for the existence of a color, a color that is likely only to exist in the icon I've chosen for the chat menu. If the color exists on my screen, then the script can continue to do nothing, but if the color doesn't exist, then that means the alltray icon with my custom icon has disappeared, at which point I should have my bash script close the alltray process and start it again.
How to accomplish the checking of my screen for the existence of a particular color? To simplify, I already have simple screenshot scripts (scrot is good for it), so it would be fine if I could simply analyze an image.
View 6 Replies
View Related
Jul 7, 2010
I'm a total newbie in Linux and only have limited experience of programming - in Hypercard, Javascript and some Python on the Mac platform. Now I want to get started with high-level programming and scripting on Ubuntu 10.04. The project I have in mind is fairly simple: I want to create an image viewer window that I can bring up on a RAW image file in Nautilus - with the help of dcraw, to inspect the image at 100% without going into a separate application.
The viewer should have a button that if clicked, would then convert the file to a TIFF, again using dcraw. That's it, that's all there is to it. My initial impression is that I should be able to achieve this using Python and GTK widgets. Am I right? How can I find the commands and structures I will need to work with?
View 8 Replies
View Related
Jun 28, 2011
I have an Excel Spreadsheet which reports upon weekly performance. One portion of the worksheet looks at week over week increases /decreases. I've placed a number of image controls (15 in Total) next to cells which calculate week over week change. The image controls simply display an image depending on whether the value of the adjacent cell is positive or negative. So, here is my basic working IF statement:
Code:
Private Sub Worksheet_Change(ByVal UpDown As Range)
If Range("J26") > 0 And IsNumeric(Range("J26").Value) Then
Image1.Picture = LoadPicture("C:path oup_arrow.gif")
ElseIf Range("J26") < 0 And IsNumeric(Range("J26").Value) Then
[code]....
As you can see, this is pretty simple. What I'd like to do is find a way to loop through all 15 controls and avoid having 15 IF statements run on the Worksheet_Change() event. The cells containing the week over week values are all in the same column, but not continuous. Involved cells are: ("J26", "J27", "J33", "J34", "J35", "J36", "J37", "J38", "J39", "J40", "J42", "J43", "J44", "J45", "J46")
View 6 Replies
View Related
Dec 7, 2010
There are 5 copies of the same images are placed in a folder i.e. large(1024*768),medium(500*375),small(240*180),thu mnail(75*75),square(100*50) in size....
The following code upload number of Geocoded images(square size) when the page loads.I want when someone click on the any Geocoded image on the page ,it should show the large image(1024*768) of the same.And further click on the large image it must show again the square size image of the same.
Following is the actual code.It is in .js file.
View 4 Replies
View Related