I have a flashbuilder project with a big image. The problem is that the default preloader does not load the images/swf's inside the project.
Is there a way to preload them?
Hi Mark,
I was looking for the way to use c# for images extraction from the pdf files and found your post regarding GhostScript.dll.
Could you please send me the c# wrapper you refering to?
Thanks,
Eugene
[email protected]
I have my friend's hard drive mounted externally. After messing with the permissions with TAKEOWN so I could fix some viruses, I have full control over their drive. The problem is, now it's stuck in a "autochk not found" reboot sequence. I think the problem is that the boot sector is invisible to the drive now.
So my question is, How can I use icacls to give back the full ownership, when the user I am giving it to is not on my machine?
I ran the TAKEOWN command from my windows 7 laptop, their machine is a windows xp Professional with three partitions, I only altered the one that has the boot sector.
Here is the permissions that icacls shows: (Where my computer is %System% my username is ME, and the drive is E:\
C:\Users\ME icacls E:\*
E:\$RECYCLE.BIN %System%\ME:(OI)(CI)(F)
Mandatory Label\Low Mandatory Level:(OI)(CI)(IO)(NW)
E:\ALLDATAW %System%\ME:(I)(OI)(CI)(F)
E:\alrt_200.data %System%\ME:(OI)(CI)(F)
E:\AUTOEXEC.BAT %System%\ME:(OI)(CI)(F)
E:\AZ Commercial %System%\ME:(I)(OI)(CI)(F)
E:\boot.ini %System%\ME:(OI)(CI)(F)
E:\Config.Msi %System%\ME:(I)(OI)(CI)(F)
E:\CONFIG.SYS %System%\ME:(OI)(CI)(F)
E:\Documents and Settings %System%\ME:(I)(OI)(CI)(F)
E:\IO.SYS %System%\ME:(OI)(CI)(F)
E:\Mitchell1 %System%\ME:(I)(OI)(CI)(F)
E:\MSDOS.SYS %System%\ME:(OI)(CI)(F)
E:\MSOCache %System%\ME:(I)(OI)(CI)(F)
E:\NTDClient.log %System%\ME:(OI)(CI)(F)
E:\NTDETECT.COM %System%\ME:(OI)(CI)(F)
E:\ntldr %System%\ME:(OI)(CI)(F)
E:\pagefile.sys %System%\ME:(OI)(CI)(F)
E:\Program Files %System%\ME:(I)(OI)(CI)(F)
E:\RECYCLER %System%\ME:(I)(OI)(CI)(F)
E:\RHDSetup.log %System%\ME:(OI)(CI)(F)
E:\System Volume Information %System%\ME:(I)(OI)(CI)(F)
E:\WINDOWS %System%\ME:(I)(OI)(CI)(F)
Successfully processed 22 files; Failed processing 0 files
C:\Users\ME
when I add images on layout it show in bad quality
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/sbackground" />
how to fix it? (I need to fix it only without programmatically)
thanks
In my theme I'm trying to display the excerpts or teasers of child pages, yet I do not want to display any images, I want image tags stripped out.
Once I've gotten the teaser in all its html glory in a php variable, how do I strip out the img tags prior to using echo?
I am receiving some strange begaviour in IE6 when printing a page.
For some reason it is printing out parts of a CSS background image sprite.
I have overridden all background-image declarations with:
* {background-image:none !important;}
But to no avail. I didn't think background images were supported by default anyways so this is a new one on me.
I am making a photo slideshow in flash and would like to be able to load images dynamically from a folder. So that whenever i have a new photo i can just stick it in a folder and have my swf file read from that folder and update the slideshow. Is this doable in actionscript 3.0? if so any pointers would be helpful.
thanks!
All of the expires headers articles I've looked at give more or less the following solution:
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
But it doesn't make sense to me because I know which of my images are going to change and which aren't, so I want to be able to add specific expiration dates to specific image files. How would I go about this?
Thanks!
I've had a look at JFeed's readme and it doesn't mention anyway to get to an RSS item's image:
JFeedItem properties
* item.title
* item.link
* item.description
* item.updated
* item.id
Does anyone know a way to parse these images?
hi, I've got a db on a server and want to get some data fro my iphone. I use TouchJson and everything works fine but I've got a little problem. I don't know how to download images. When I try to build and run the app the emulator just crashes. Got any ideas what to do?
Can someone tell me what the ideal resolution for images are for an iPhone/iPad and iPhone(Retina)/iPad(Retina). I have pulled these measurements off of the Apple Website and Wikipedia. See Below:
Regular iPhone 480 x 320 - 163 ppi
iPhone Retina Display 960 x 640 - 326 ppi.
iPad 2: 1024 x 768 - 132 ppi
iPad 3 (retina display): 2048 x 1536 - 264 ppi
Thank you would really appreciate for some assistance!
Q1)
I'm designing a CMS (-who isn't!) but priority is being given to caching. Literally everything is cached. DB rows, DB id queries, Configuration data, processed data, compiled templates. Currently it has two layers of caching.
The first is a opcode cache or memory cache such as apc, eaccelerator, xcache or memcached. If an entry is not found in there it is then searched for in the secondary slow cache, ie php includes.
Are the opcode caches actually faster than doing a require_once to a php file with a var_export'd array of data in it? My tests are inconclusive as my development box (5.3 of XAMPP) keeps throwing errors installing any of the aforementioned programs.
Q2)
The CMS has numerous helper classes that are autoloaded on demand instead of loading all files. Mostly each has a require before it so no autoloading needs to take place, however this is not the question. Because a page script can have up to 50/60 helper files included I have a feeling that if the site was under pressure it would buckle because of all the i/o that this incurs. Ignore for the moment that there is output cache in place that would remove the need for what I am about to suggest, and also that opcode caches would render this moot. What I have tried to do is join all the helper files required for the scripts execution in one single file. This is achievable and works well, however it has a side effect of greatly increasing the memory usage dramatically even though technically the same code is being used.
What are your thoughts and opinions on this?
I am having trouble getting my left and right repeaters to fill the available space left on wide screens for a website I am working on. The left and right repeaters are background images (approxamately 350px wide) that I would like to show part of, or even repeat if the screen (visible area of screen shown in red) becomes wide enough.
Any help or suggestions would be greatly appreciated!
Thanks,
John
I'd like to be able to read keynote presentation files on the ipad, and convert them to a series of images, one per slide. Is there an easy way of doing this? I briefly took a look at the internals of a keynote presentation, and the huge xml wad looks pretty daunting. Is there a library that can do this?
I want to draw 15 images in drawRect: but the biggest I could find was NSDrawNinePartImage() What is recommended here? NinePart + 2 * ThreePart? Or something else?
I have a cool snippet of code that works well, except one thing.
The code will take an icon I want to add to an existing picture. I can position it where I want too! Which is exactly what I need to do.
However, I'm stuck on one thing, concerning the placement.
The code "starting position" (on the main image: navIcons.png) is from the Bottom Right.
I have 2 variables: $move_left = 10; & $move_up = 8;.
So, the means I can position the icon.png 10px left, and 8px up, from the bottom right corner.
I really really want to start the positioning from the Top Left of the image, so I'm really moving the icon 10px right & 8px down, from the top left position of the main image.
Can someone look at my code and see if I'm just missing something that inverts that starting position?
function attachIcon($imgname)
{
$mark = imagecreatefrompng($imgname);
imagesavealpha($mark, true);
list($icon_width, $icon_height) = getimagesize($imgname);
$img = imagecreatefrompng('images/sprites/navIcons.png');
imagesavealpha($img, true);
$move_left = 10;
$move_up = 9;
list($mainpic_width, $mainpic_height) = getimagesize('images/sprites/navIcons.png');
imagecopy($img, $mark, $mainpic_width-$icon_width-$move_left, $mainpic_height-$icon_height-$move_up, 0, 0, $icon_width, $icon_height);
imagepng($img); // display the image + positioned icon in the browser
//imagepng($img,'newnavIcon.png'); // rewrite the image with icon attached.
}
header('Content-Type: image/png');
attachIcon('icon.png');
?
For those who are wondering why I'd even bother doing this. In a nutshell, I like to add 16x16 icons to 1 single image, while using css to display that individual icon. This does involve me downloading the image (sprite) and open photoshop, add the new icon (positioning it), and reuploading it to the server. Not a massive ordeal, but just having fun with php.
I need to print a large image collection of pictures.
If I use something like:
printDocument.PrintPage += OnPrintPage;
printDocument.Print();
my printing task size in printer queue takes more than 1 GB!
Can anyone suggest how can I print the images one by one. Maybe some event like PrintJobIsFinished is available?
I'm coming to Postgres from Oracle and looking for a way to find the table and index size in terms of bytes/MB/GB/etc, or even better the size for all tables. In Oracle I had a nasty long query that looked at user_lobs and user_segments to give back an answer. I assume in Postgres there's something I can use in the information_schema tables, but I'm not seeing where. Thanks in advance.
Hello,
I'm working in a course's project to predict the velocity and position of the solar system planets (and other objects). It will be really cool if I can visualize the predicted objects data, if it's possible generating 3D images, if in video that's amazing.
Do you know any library that lets me to use this data to generate an image or video? (I don't care in which language)
Data:
- simulation step (time line step for a video)
- positions of the objects
- radius and/or colours of the objects
Thanks in advance, any suggestion is welcome.
Hey hey!
At first, I'm not into HTML and PHP programming!
A friends joomla-site was hacked by some sort of html injection, and now every php and html file has an iframe which is linked to some sort of malware page. And now i want to copy the infected files from the server to my machine and "clean" them. Is this dumb and dangerous!?
thx, alex
I'm trying to get everything in the anchor tag to be a clickable link. Unfortunately, in IE6 (which is the only browser I'm concerned with currently), the only thing that isn't a clickable link are the inline images. I know that it's not valid html to put a div inside of an anchor but it's not my markup and I've been asked to avoid changing it. Any suggestions to altering the CSS to enable the images as clickable links? If changing the markup is the only solution... any suggestions there? My initial thought was to set the image as a background of it's parent (.ph-item-featured-img), although I'm unclear if that will solve the problem.
Thanks!
<div class="tab-panel-init clear ui-tabs-panel ui-widget-content ui-corner-bottom" id="ph-flashlights">
<a href="#" class="last ph-item-featured clear">
<div class="ph-item-featured-img">
<img src="#">
</div>
<strong>
PRODUCT CODE
</strong>
<p>
PRODUCT CODE Heavy Duty Aluminum Led Flashlight
</p>
<span>Learn more ></span> </a>
<a href="#" class="last ph-item-featured clear">
<div class="ph-item-featured-img">
<img src="#">
</div>
<strong>
PRODUCT CODE
</strong>
<p>
PRODUCT CODE Heavy Duty Aluminum Led Flashlight
</p>
<span>Learn more ></span> </a>
</div>
Hello,
I know that when using Subversion, adding/copying/renaming files must be done via 'svn add' or 'svn copy' etc. In my Eclipse IDE, I use Subclipse to work with subversion. It's easy enough to add text-based files to version control (ie. php/html/js files) - but how do I properly add images to version control using Subclipse?
Thanks, Brian
In my php application i have a folder in which all the photos are kept.
The images are in different sizes.So i want to select photos from the folder and applying some image functions and upload to a different folder through php code.
This is same as image uploading but the difference is that the source file is in server
That is i want to select photos from server applying some image functions and upload again on the server
Pls help me