|
Q-1. match url that doesn't contain asp, apsx, css, htm.html,jpg,
Q-2. match url that doesn't end with asp, apsx, css, htm.html,jpg,
Started by nishant on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If your regular expression implementation does allow lookaround assertions, try these... .
This is better done using a normal string search, but if you insist on regex: .*(?<!asp|css|htm|jpg)(?<!aspx|html)$ .
Css|htm|html|jpg))* .
|
|
I'd like to save an existing image as a PNG or JPG at a given file size, eg, 100KB.
Started by rupello on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
PNG uses lossless compression so you can not compress it below a certain level... .
Using JPG, you'll have and especially JPG will often have a much lower file size.
Only if using JPG 2000 you could set the file size to a specific value.
|
|
Hi ;
how to convert .cdr (corel draw file) vector images to jpg on imagick PHP API
Started by john misoskian on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
SVG->JPG appears to be possible in ImageMagick.
|
Ask your Facebook Friends
|
How to save jpg image to database and then load it in Delphi using FIBplus and TImage?
Started by Grrey on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Finally S.Free; end; end;
if you are using JPEG images, add JPG unit to uses clause of your unit file..
|
|
Hi,
I have a directory structure of which I wish to recursively go through the folders and copy any .jpg I find into another directory.
I think I had the wrong idea with:
cp -R photos/*.jpg /cpjpg
I am usin Ubuntu.
Thanks.
Started by dsaoda on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Try combining cp with find, something like....
-type f -iname '*.jpg' -print0 |xargs -0 tar c |(cd /path/to/copy/dir ; tar x)
You might be okay with
find photos -name '*.jpg' -exec cp {} /some/other/place \;
if you need to copy task .
Find.
|
|
Possible Duplicate:
rename multiple files at once in unix
I tried mv *.JPEG *.jpg but it didn't work.
Started by Egg Yolk on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Depending on your Linux distro in *.JPEG do mv "$f" "`basename $f JPEG`....
Rename .JPEG .jpg *.JPEG
See the rename(1) man page: http://linux.die.net/man/1/rename
mmv *.JPEG$/jpg/'`" done
There are different versions of rename out there.
|
|
I have an RTF file that I need to display to a user. I know that I need to convert it if I want to display it in the browser. I would like to be able to convert it to JPG so that I can take advantage of other code that I am using that uses ImageMagick...
Started by Mark on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This might require more-utility.html
As for the PDF to JPG....
Sure thats more work than going straight from RTF to JPG but it might be an acceptable short term workaround for today.
Perhaps you could convert the RTF to PDF then to JPG.
|
|
Hello
I want to do the following in PHP:
I have two images, a jpg and a png. I want to resize the jpg to the same size as the png then put the png on top. The PNG has transparency so I would like to preserve that so the jpg shows underneath.
If anyone...
Started by Chris on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
There is also a way to load JPG images, resize images, turn on alpha tracking, and export images in GD.
|
|
Is there any way to convert a bmp image to jpg/png without losing the quality in C#? Using Image class we can convert bmp to jpg but the quality of output image is very poor. Can we gain the quality level as good as an image converted to jpg using photoshop...
Started by Ramesh Soni on
, 7 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
So in thoery even.
Be able to keep the same quality because jpg is (so far as I'm aware) always lossy even, codecParams); // Save to JPG
Just want to say that JPEG is by nature a lossy format.
|
|
What would be the most appropriate image type to display a jpg image (loaded from a local folder) on a JPanel?
Cheers.
Started by burntsugar on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
ImageIcon....
Here's Sun's docs on the subject matter.
I'd probably use an ImageIcon and set it on a JLabel which I'd add to the JPanel .
You could use a javax.swing.ImageIcon and add it to a JLabel using setIcon() method, then add the JLabel to the JPanel .
|