How to show a Image (from shell, python or what ever)
Hi guys
An Application written in c#/mono takes up to 7 seconds to start. So i was asked to do a little splash screen for it.
I coul'd not figure out how to do it from shell and i couldn't find the pygtk bindings installed, so i did it quick and dirty in mono showing just an animated gif and killing the process after the applicaiton started.
The problem with this Solution is that the splash screen itself takes up to 3 seconds to show up, which is quite long.
Any idea how i could do it from shell or maybe in python or c? Thing is, i can't install any new libraries on that system so it has to be done with the very basic stuff that comes with the xserver.
Window manager is fvwm. And i would like to stick with the animated gif, since i already have it.
Lg, Archdove
display (imagemagic) is probably installed. But how can i deactivate the window decorator? It would also help if i could just set the window title by my self since there is a rule (which i cannot alter or add one more) to do this for special windows.
Last edited by Archdove (2012-01-25 19:05:38)
Got it with the -title switch... don't know if it will help me tough
I just keep updateing here... the tool animate has to be used to animate the gif.
So what i still need to know is how i can set the exact position of the window to be shown.
animate -geometry 100%+0+300 -delay 10 -title windowTitle loading14.gif - BÄM!
Last edited by Archdove (2012-01-25 19:35:56)
Similar Messages
-
How to show an image from html ?
Hi,
I have an image from a html that I want to show, it�s in a html:
<BODY LANG="pt-BR" DIR="LTR">
<P STYLE="margin-right: 0.63cm; margin-bottom: 0cm"><IMG SRC="??????????\Trabalho_html_86e8006.gif" ALIGN=LEFT HSPACE=12><BR>it�s stored in a database and I�m using an outputtext to show it.
I�d try to use c:\ but it did not works.
What path do I have use to correctly display the image ???
Thanks
Marlos Rodriguesduplicate of http://swforum.sun.com/jive/thread.jspa?threadID=50363&tstart=0
-
How to get all images from folder in c#?
I am trying to get all images from folder. But it is not executing from following:
string path=@"C:\wamp\www\fileupload\user_data";
string[] filePaths = Directory.GetFiles(path,".jpg");
for (int i = 0; i < filePaths.Length; i++)
dataGridImage.Controls.Add(filePaths[i]);
Please give me the correct solution.How to display all images from folder in picturebox in c#?
private void Form1_Load(object sender, EventArgs e)
string[] files = Directory.GetFiles(Form1.programdir + "\\card_images", "*", SearchOption.TopDirectoryOnly);
foreach (var filename in files)
Bitmap bmp = null;
try
bmp = new Bitmap(filename);
catch (Exception e)
// remove this if you don't want to see the exception message
MessageBox.Show(e.Message);
continue;
var card = new PictureBox();
card.BackgroundImage = bmp;
card.Padding = new Padding(0);
card.BackgroundImageLayout = ImageLayout.Stretch;
card.MouseDown += new MouseEventHandler(card_click);
card.Size = new Size((int)(this.ClientSize.Width / 2) - 15, images.Height);
images.Controls.Add(card);
Free .NET Barcode Generator & Scanner supporting over 40 kinds of 1D & 2D symbologies. -
How do I remove images from aperture?
Totally new to apple and aperture so I apologise if this seems like a somewhat noob question but how do I remove images from aperture (using the latest version, 3.4.1)? Coming from a PC and using lightroom I'm used to being able to remove images in two ways:
- removing the image from the "library", so that it no longer shows up in the program at all but is still on your hard drive (when I say removing it from the program entirely, I mean entirely, i.e. not sitting in a trash can or some other place where it's still taking up memory)
- deleting the original image off the hard drive
Is it possible to do either of these things in aperture, on both just a single image or a selection of multiple images, and if so how? I've tried googling this already and am getting a bunch of mixed solutions, none of which have really worked so far, so any answers would be appreciated. Thanks!The answer partially depends on whether you have a managed or referenced library. Since you're totally new to Aperture, I'm assuming you have a managed library since that's the default.
FYI: Managed means Aperture handles image files and places them inside the library file. Referenced means you manage the image files and Aperture only points to (references) them.
For a managed library, select an image you want to delete. Type command-delete. (That's the reverse delete key next to the "=" key). (You can also right-click an image and choose Delete Version) That will remove the images from their Project and place in the Aperture Trash. They're still taking up space in the Trash. If you really want them gone for good, right-click the Trash in the library pane and select Empty Trash. Poof.
For a reference library, I forgot the exact details since I don't use this type of library, but you'll be asked (or can check a box) to delete the original file from the disk. -
How can I download images from website with Automator?
Hi!
I want to ask how can I download images from website with Automator like here http://www.youtube.com/watch?v=hQm7Xr9jY0w&t=85m15s (in 1:25:15).
I want to download these images to my downloads folder. Some things have changed and I can't find exact options as then. When I am trying to make it it shows "The action "Download URLs" was not supplied with the required data."
I am using 2012 late iMac with Mac OSX 9.2 (Mavericks).There are two apps that I know of - and I would also swear that they come from the same developer, although they've different names. Both have free trials and both cost $40 (but both do 'other' video conversion as well).
One is WonderShare - I bought this one and it works very well for downloading YouTube videos as well as converting just about any file format you can think of.
The other is iSkysoft Video Converter (just noticed that it's now $36).
I tried them both and finally decided on WonderShare. Give them both a trial run and decide if you like either one enough to buy it. I don't know of any 'free' software that will allow you to download and convert YouTube videos, but perhaps someone else will come along and know of something...
Good luck,
Clinton -
How to capture an image from my usb camera and display on my front panel
How to capture an image from my usb camera and display on my front panel
Install NI Vision Acquisition Software and NI IMAQ for USB and open an example.
Christian -
HT4007 How do I export images from Aperture to my iPad Mini?
How do I export images from aperture to my iPad Mini?
BerndpeterI am going to give it a try.
Greetings from Mexico! -
How do I import images from my hard drive without losing resolution? My original files after import are significantly smaller. What should I do?
Hi Keith, and all others chiming in, I do have the correct option checked in advanced settings telling iPhoto to copy the images into the library. What is a refernced library? Perhaps this is where I am getting confused. I exported my entire photo library from an old iMac5 to my external hard drive, from there I attempted to import the entire library to my new iMac. Am I overlooking an obvious and easy way to import from the hard drive to the new iMac--I dragged the entire photo pholder from the hard drive to the open window of iPhoto on the new computer. Now, I only get preview file sizes in iPhoto, unless I have my external drive open. Perhaps I need to import the original images from the hard drive in a different way...?! (This is making me feel pretty stupid.)
-
I installed the update that changed my iPhoto to Photos 1.0, and the new Photos program is not showing all images from Photos Library.photoslibrary file/folder (not sure to call it file or folder since it is actually a folder with all my pics but it acts more like a file) after update install. The Photos Library.photoslibrary file/folder shows to be 55 gb in size, and it shows to be loaded into the photos program, but there are maybe a few weeks of pictures showing instead of a few years. Lots of pictures in the 55 gb are not showing for some reason.
No - iPhotos has not replaced anything - it is new and an addition - iPhoto is still on your system in the applications folder and still works just fine
Outlook is not supported by Photos - not sure if the support must come form Apple or MS as Photos uses a different interface to external packages than iphoto did
LN -
How can I access images from IPhoto on my Mac to Photoshop CS6
How can I access images from IPhoto library on my Mac to Photoshop CS6? I enable jpg with format "Photoshop" and this is what comes up - "Could not complete your request because Photoshop does not recognize this type of file"
MountainArtist wrote:
…I enable jpg with format "Photoshop" and this is what comes up - "Could not complete your request because Photoshop does not recognize this type of file"
Photoshop is not a format. It's an application.
What you are looking at are not true JPEGs, just iPhoto's "tease" representations of the hidden images it swallowed, as explained above. -
How do I remove images from Notes app?
How do I remove images from Notes app?
I sometimes find that, when cutting and pasting text from the web, an image is also copied (pretty much at all times I try and avoid this, but sometimes the selection process doesn't allow for fine enough control - e.g. a whole block of content may be selected, rather than just the few words I'm trying to copy).
I then find, once it's part of my note, that I cannot select the unwanted image and remove it. Can anyone tell me if this is something that can be done, and if so... how?
Thanks, SebastainHi Drew & Kilgore*
Thanks for your replies. I also have and use Simplenote, although I went off it for a while, when it started crashing all the time on me. It seems to be more stable again now, so I'll start using it more regularly again, perhaps.
I am, obviously, disappointed that one can't simply select ANY object within a Notes document and choose to delete it. As I rather suspected, the only solution is an annoying workaround. Apple stuff seems to get more like this as time goes by. At least in my experience.
I solved the issue my own way in the end, but I guess it was close to your 1st idea DR, and your 2nd option, KT: I basically cut and pasted everything above, and then everything below, the image, and pasted both chunks of text into a new note. So it took two passes, and left me with the original note just displaying the image, which I then trashed.
Tapping to the right of the image followed by deletion was what I hoped & expected would work. But instead the image stayed put and the text below the cursor would simply slide along the right hand side, moving upwards as I deleted! Most bizarre, to my mind at least.
Anyway thanks for the feedback. But, for anyone else that might want to know how to do this, the answer is: NO, you can't select and delete an image once it's in one of your notes!
* I quite recently watched the rather strange Bruce Willis / Nick Nolte 'Breakfast of Champions' movie... I think I still prefer the book to the film! -
How can I import images from iphoto with the albums and folders?
How can I import images from iphoto without losing the albums and folders I already created?
In Organizer, you can choose File>get Photos and Videos>From iPhoto.
Importing from iPhoto'09: If in iPhoto, you organize your media using photo references, that is, the media actually does not reside inside iPhoto library package, and are referenced through original locations, Organizer does not create new copies of those media and just refer to the original location. but if your iPhoto media reside inside iPhoto library, Organizer creates a copy all media in your pictures folder, also imports albums and tags and other metadata.
Importing from iPhoto'011: In this case, Organizer always creates a copy of your photos in your pictures folder which resides inside iPohto package. It does not import the albums and other metadata like star rating, caption etc.
Hope this information helps!
regards,
vaishali -
How to read some images from file system with webdynpro for abap?
Hi,experts,
I want to finish webdynpro for abap program to read some photos from file system. I may make MIMES in the webdynpro component and create photos in the MIMES, but my boss doesn't agree with me using this way. He wish me read these photos from file system.
How to read some images from file system with webdynpro for abap?
Thanks a lot!Hello Tao,
The parameter
icm/HTTP/file_access_<xx>
may help you to access the pictures without any db-access.
The following two links may help you to understand the other possibilities as well.
The threads are covering BSP, but it should be useful for WebDynpro as well.
/people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
http://help.sap.com/saphelp_sm40/helpdata/de/c4/87153a1a5b4c2de10000000a114084/content.htm
Best regards
Christian -
SSRS MHTML Report showing chart image from a previous email
Hi there,
I am having an issue with SSRS reports subscription emails. I am sending a report as MHTML with some charts, which are end up as images within the email body. The issue is that outlook is inconsistent with what it is deciding to show as the image.
At times it will show an image from a previous days email, effectively delivering the wrong information. It is obviously using some caching. I have read others having similar issues with iPhone/safari, but have yet to see this issue with
Outlook. I am wondering if there is a way to control the naming of the images to force the mail client to render the intended image. There is huge risk in delivering the wrong information. Or alternatively, if there is a way to modify the
MHTML output after the subscription runs to add some meta information, if that would even work.Hi Jamie,
According to your description, there are charts in the report, you configured subscription for the report and render format is MHTML. The problem you are facing is that sometimes the information of subscription comes from previous days.
To troubleshoot the problem, please refer to the following steps:
By default, the Subject of subscription includes following variables: @ReportName, @ExecutionTime. Please validate that the @ExecutionTime in email body is the same with schedule of the subscription, and make sure that the report is delivered correctly.
Please login web-based email and validate that the information of delivered report is correct. If the information of web-based email is not the same as outlook, then the problem may be cause by using caching in outlook. If that is the case, we can resolve
the problem by disabling Cached Exchange Mode. Please refer to the link:
http://technet.microsoft.com/en-us/library/cc179175(v=office.15).aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
How do I acquire images from my usb webcam ?
Hi all ,
How do I acquire images from my usb webcam (logitech quickcam express ) ?
I use Labview 7 .Pedrus wrote:
> Hi all ,
> How do I acquire images from my usb webcam (logitech quickcam express)?
> I use Labview 7 .
This seems a very popular question coming up about once every week at
least. And there are many good answers in the developer Zone on www.ni.com
Check out:
Irene He's IVision Toolkit:
http://www.hytekautomation.com/Products/IVision.html
or
Pete Parentes WebCam library:
http://www.cs.unc.edu/~parente/labview/index.shtml
The first is a rather impressive Video Manipulation library with a
nice video capture interface to VfW too, and the second is a simple
video capture library to access any VfW compliant device.
Rolf K"
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions
Maybe you are looking for
-
Automatically update the date on opening a document in Pages 5
I can't find how to automatically update the date on opening a document. I could in Pages 4.
-
How do I view websites in theie desktop version instead of mobile?
I would like to view Facebook.com in the desktop version, but am not given that option.
-
Error occurred while uploading iPhoto book
I have been trying to upload (buy) a photobook through iPhoto. It builds OK and seems to transfer all the data (60MB) then stops and displays an error message: "An error occurred while uploading one of your files. Please check your network connection
-
Hints FIRST_ROWS and order by not working together
Hi, We are facing an issue like we are using hint FIRST_ROWS with a query which have a order by clause, if we are giving both together it is not working and if we remove either order by or hint it is working SELECT /*+FIRST_ROWS*/ * FROM (SELECT MYRO
-
Point me to the solution for mis-marked mail please!
Hi All, Since upgrading to 10.4.4, the perennial problem of read mail reappearing as unread has resurfaced. I had fixed it, but can't remember what the fix is. I searched here in discussions, and after ten minutes of reading how many others have the