How to resize image to flow with my theme?
Hello there,
I have a site (removed) and I think my logo does not flow with the rest of my theme.
How can I resize the logo that is already uploaded to my site?
Thanks
Hello, could you rather post a screenshot, (Printscreen on a PC, switch to Photoshop, new document, paste, and save, then use the camera icon here to upload your image.)
We are sorry, but we've seen too many users create posts making fake invite for critiques, just to bring traffic to their site, so we have to draw a line (nothing against you, or we don't mean that you are doing it) and remove all such links.
Similar Messages
-
How to resize image using java imageio
Hello ,
I want to know how to resize image using java imageio.
I dont want to use java awt because i am writing a web application.
help is very much needed
thank you.Just use an AffineTransform !
Its much easier -
How to resize image on my mac?
How to resize image on my mac?
What version of Mac OS X do you have? In Preview under 10.9 Mavericks (I believe 10.8 too), this is what I see:
The padlock is next to the unit (pixels, etc) selection box.
Matt -
How do I create a DVD with no theme, i.e., it plays what was recorded when inserted in the player? Nothing extra, just the recorded content.
Hi
No Menu on DVD
from. Mishmunken
How to create a DVD in iDVD6 without menu (there are several options)
1. Easy. Drop your iMovie in the auto-play box in iDVD's Map View, then set your auto-play item (your movie) to loop continuously.
Disadvantage. The DVD plays until you hit stop on the remote
2. Still easy. If you don't want your (auto-play) movie to loop, you can create a black theme by replacing the background of a static theme with a black background and no content in the drop-zone (text needs to be black as well).
Disadvantage. The menu is still there and will play after the movie. You don't see it, but your disc keeps spinning in the player.
3. Still quite easy but takes more time. Export the iMovie to DV tape, and then re-import using One-Step DVD.
Disadvantage. One-Step DVD creation has been known to be not 100% reliable.
4. (My preferred method) Easy enough but needs 3rd party software. Toast lets you burn your iMovie to DVD without menu - just drag the iMovie project to the Toast Window and click burn.
Disadvantage. you'll need to spend some extra $$ for the software. In Toast, you just drop the iMovie project on the Window and click Burn.
5. The "hard way". Post-production with myDVDedit (free-ware)
Tools necessary. myDVDedit ( www.mydvdedit.com )
• create a disc image of your iDVD project, then double-click to mount it.
• Extract the VIDEO_TS and AUDIO_TS folders to a location of your choice. select the VIDEO_TS folder and hit Cmd + I to open the Inspector window
• Set permissions to "read & write" and include all enclosed items; Ignore the warning.
• Open the VIDEO_TS folder with myDVDedit. You'll find all items enclosed in your DVD in the left hand panel.
• Select the menu (usually named VTS Menu) and delete it
• Choose from the menu File > Test with DVD Player to see if your DVD behaves as planned. If it works save and close myDVDedit.
• Before burning the folders to Video DVD, set permissions back to "read only", then create a disc image burnable with Disc Utility from a VIDEO_TS folder using Laine D. Lee's DVD Imager.
//lonestar.utsa.edu/llee/applescript/dvdimager.html
hope this helps!
From LynnLU USA
www.mediasoftmac.com/dvd-creator-articles/convert-mov-video-to-dvd-on-mac.html#1 29
Yours Bengt W -
How to resize image with high quality
I refer lot of examples in image resizing. But quality of resized image not good. pls can give me solution for that with code?
I refer lot of examples in image resizing.Have you read [_this article_|http://today.java.net/pub/a/today/2007/04/03/perils-of-image-getscaledinstance.html]?
db -
How to resize image in JSP using JAI ??!!
Please help me how to resize an JPEG image from my JSP, could I use JAI lib ? how ?
Hello,
I had the same problem few months ago ( in that case i used Jimi instead of JAI).
The answer to your question is: use the java class called "Image".
Infact you can use JAI just for load or save to disk your image that you have to resize and then use the following code to resize the image :
Image imgResized = img.getScaledInstance(100,1,Image.SCALE_AREA_AVERAGING);
The object "img" is the image to resize and the object "imgResized" is the image resized with width equals to 100 and with a right height.
I used Jimi just to save my image and i think that with JAI there is a method to do this.
You can use JAI to load in memory your image too so you can avoid problem with MediaTraker class.
I hope that this can help you.
Cheers.
Stefano -
AppleScript to resize images and save with new name
I want to make an apple script, which resizes all images of a folder regardless what kind of filetype.
The source folder will change every day.
With the script i want to choose a source Folder, resize all images and save the files with my jpeg options in the same folder, but with adding „_ipad“ in the filename.
I tried to edit an existing script from this forum, but in Photoshop 5.1 i get the error-message "This function is possibly not available in this Version" in line 18 "save in file newFileName as JPEG with options myOptions"
How can i save the documents with new name in the existing folder?
Thanks.
This is the script i’m working with:
set inputFolder to choose folder with prompt "Wähle einen Ordner:"
--set destinationFolder to choose folder with prompt "Wähle einen Zielordner" as string
tell application "Finder"
set filesList to (files of entire contents of inputFolder) as alias list
end tell
tell application "Adobe Photoshop CS5.1"
set UserPrefs to properties of settings
set ruler units of settings to pixel units
repeat with aFile in filesList
open aFile showing dialogs never
set docRef to the current document
tell docRef
set newFileName to my getBaseName(name)
--resize image height 240 resolution 72 resample method bicubic sharper
change mode to RGB
resize image resolution 72
set myOptions to {class:JPEG save options, embed color profile:true, quality:12, format options:progressive, scans:3}
save in file newFileName as JPEG with options myOptions
end tell
close the current document saving no
end repeat
set ruler units of settings to ruler units of UserPrefs
end tell
on getBaseName(fName)
set baseName to fName
repeat with idx from 1 to (length of fName)
if (item idx of fName = ".") then
set baseName to (items 1 thru (idx - 1) of fName) as string
exit repeat
end if
end repeat
return baseName
end getBaseNameThis seems like a Photoshop error not an AppleScript one. Have you looked in the Photoshop dictionary to see if the command you are getting the error on exists and if it has those options?
If all you want to do is resize image files and save the resized image file you might want to look at Automator. Specifically the Scale Image action under Photos.
regards -
How to resize Image Jpeg ?
I have a problem when I scale file image Jjpeg.
My code :
public void resize(Image img){
BufferredImage bimg = toBufferedImage(img);
AffineTransform tx = new AffineTransform();
tx.scale(125,125);
AffineTransformOp op = new AffineTransformOp (tx,AffineTransformOp.TYPE_BILINEAR)
bimg = op.filter(bimg, null);
public static BufferedImage toBufferedImage(Image image) {
if (image instanceof BufferedImage) {
return (BufferedImage)image;
// Determine if the image has transparent pixels; for this method's
// implementation, see e661 Determining If an Image Has Transparent Pixels
boolean hasAlpha = hasAlpha(image);
// Create a buffered image with a format that's compatible with the screen
BufferedImage bimage = null;
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
try {
// Determine the type of transparency of the new buffered image
int transparency = Transparency.OPAQUE;
if (hasAlpha) {
transparency = Transparency.BITMASK;
// Create the buffered image
GraphicsDevice gs = ge.getDefaultScreenDevice();
GraphicsConfiguration gc = gs.getDefaultConfiguration();
bimage = gc.createCompatibleImage(
image.getWidth(null), image.getHeight(null), transparency);
} catch (HeadlessException e) {
// The system does not have a screen
if (bimage == null) {
// Create a buffered image using the default color model
int type = BufferedImage.TYPE_INT_RGB;
if (hasAlpha) {
type = BufferedImage.TYPE_INT_ARGB;
bimage = new BufferedImage(image.getWidth(null), image.getHeight(null), type);
// Copy image to buffered image
Graphics g = bimage.createGraphics();
// Paint the image onto the buffered image
g.drawImage(image, 0, 0, null);
g.dispose();
return bimage;
}This is my code :
private ImageIcon getImageIcon(String path){
ImageIcon iIcon = new ImageIcon(path);
if(iIcon.getIconHeight() > 125 || iIcon.getIconWidth() > 125){
Image img = iIcon.getImage();
int iw = img.getHeight(null);
int ih = img.getWidth(null);
BufferedImage bImage1 = toBufferedImage(img);
BufferedImage bImage2 = new BufferedImage(400,400,1);
AffineTransform tx = new AffineTransform();
tx.scale(400,400);
AffineTransformOp op = new AffineTransformOp(tx, AffineTransformOp.TYPE_NEAREST_NEIGHBOR);
BufferedImage bImage3 = op.filter(bImage1, bImage2);
img = Toolkit.getDefaultToolkit().createImage(bImage2.getSource());
return (new ImageIcon(img));
if(iIcon == null)
return null;
return iIcon;
public static BufferedImage toBufferedImage(Image image) {
if (image instanceof BufferedImage) {
return (BufferedImage)image;
// Determine if the image has transparent pixels; for this method's
// implementation, see e661 Determining If an Image Has Transparent Pixels
boolean hasAlpha = hasAlpha(image);
// Create a buffered image with a format that's compatible with the screen
BufferedImage bimage = null;
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
try {
// Determine the type of transparency of the new buffered image
int transparency = Transparency.OPAQUE;
if (hasAlpha) {
transparency = Transparency.BITMASK;
// Create the buffered image
GraphicsDevice gs = ge.getDefaultScreenDevice();
GraphicsConfiguration gc = gs.getDefaultConfiguration();
bimage = gc.createCompatibleImage(
image.getWidth(null), image.getHeight(null), transparency);
} catch (HeadlessException e) {
// The system does not have a screen
if (bimage == null) {
// Create a buffered image using the default color model
int type = BufferedImage.TYPE_INT_RGB;
if (hasAlpha) {
type = BufferedImage.TYPE_INT_ARGB;
bimage = new BufferedImage(image.getWidth(null), image.getHeight(null), type);
// Copy image to buffered image
Graphics g = bimage.createGraphics();
// Paint the image onto the buffered image
g.drawImage(image, 0, 0, null);
g.dispose();
return bimage;
When I recieve Img3 which is not same original Image (img1)
Please help me ? -
Hi guys any tips or advise on how to resize an image i know
there are various tools but is there a tool in Adobe flash
professional and how can I do it
cheersIn what way do you want to resize the image? Are you
importing graphics that you want to resize when you import them at
runtime? Do you want to resize the images to a specific size or
relative to one imported image? Or do you want to resize one or
more images for a specific purpose at runtime based on some user
input? Or is it something else? -
<WebPartPages:XsltListViewWebPart ID="XsltListViewWebPart_AppWeb"
runat="server" ListUrl="Lists/MyList" IsIncluded="True"
NoDefaultStyle="TRUE" Title="XsltListView web part" PageType="PAGE_NORMALVIEW"
Default="False" ViewContentTypeId="0x">
</WebPartPages:XsltListViewWebPart>
For any List it work fine but for Image form library its not working:
My url: http://sitename:portname/PublishingImages/Forms/AllItems.aspx
Please provide Solution.
Question:How To show image library with thumbnail view in Visual Webpart using xslt webpart.Is it throwing any error?
do you set correctly the ListUrl parameter? in this case it will be "PublishingImages" -
How to prevent images from loading with google search results?
Since I updated to FireFox 18 I have been getting images (miniature webpages) with my search results with Google. I thought it was a google problem but I don't have the problem in IE.
Please advise.I think you are using some addons, try in safemode...
'''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
''(If you're not using it, switch to the Default theme.)''
* You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
* Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
''Don't select anything right now, just use "'Start in Safe Mode"''
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
'''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
Please follow the [[Troubleshooting extensions and themes]] article for that.
''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.'' -
How to store images in database and retrieve them back to page?
Well I don't know how to store an image file to a database (say MSSQL) from the JSP and retrieve it back whenever needed and put it on the JSP page? Please help me.
I am not sure how to store images in database but what you can do is store the image into particular folder using FileOutputStream and its unique name into the database...and than retrieve it from the folder using that name retrieved from database...
<%
response.setContentType("text/html");
response.setHeader("Cache-control","no-cache");
String err = "";
String lastFileName = "";
String contentType = request.getContentType();
String boundary = "";
final int BOUNDARY_WORD_SIZE = "boundary=".length();
System.out.println("contentType --> "+contentType);
System.out.println("BOUNDARY_WORD_SIZE --> "+BOUNDARY_WORD_SIZE);
if(contentType == null || !contentType.startsWith("multipart/form-data"))
err = "Ilegal ENCTYPE : must be multipart/form-data\n";
err += "ENCTYPE set = " + contentType;
else
boundary = contentType.substring(contentType.indexOf("boundary=") + BOUNDARY_WORD_SIZE);
System.out.println("boundary --> "+boundary);
boundary = "--" + boundary;
try
ServletInputStream sis = request.getInputStream();
byte[] b = new byte[1024];
int x=0;
int state=0;
String name=null,fileName=null,contentType2=null;
java.io.FileOutputStream buffer = null;
while((x=sis.readLine(b,0,1024))>-1)
System.out.println("************ x ********** "+x);
String s = new String(b,0,x);
System.out.println("************ s ********** \n"+s);
if(s.startsWith(boundary))
state = 0;
System.out.println("name="+name);
System.out.println("filename="+fileName);
name = null;
contentType2 = null;
fileName = null;
else if(s.startsWith("Content-Disposition") && state==0)
System.out.println("-- 1 --");
state = 1;
System.out.println("s.indexOf(filename=) --> "+s.indexOf("filename="));
if(s.indexOf("filename=") == -1)
name = s.substring(s.indexOf("name=") + "name=".length(),s.length()-2);
System.out.println("after name substring 1 "+name);
else
name = s.substring(s.indexOf("name=") + "name=".length(),s.lastIndexOf(";"));
System.out.println("after name substring 2 "+name);
fileName = s.substring(s.indexOf("filename=") + "filename=".length(),s.length()-2);
System.out.println("fileName --> "+fileName);
//String fileName1 = s.substring(s.indexOf("filename=") + "filename=".length(),s.length());
//System.out.println("fileName1 -->"+fileName1);
if(fileName.equals("\"\""))
fileName = null;
else
String userAgent = request.getHeader("User-Agent");
System.out.println("userAgent --> "+userAgent);
String userSeparator="/"; // default
if (userAgent.indexOf("Windows")!=-1)
System.out.println("test --> "+"\\");
userSeparator="\\";
if (userAgent.indexOf("Linux")!=-1)
userSeparator="/";
System.out.println("userSeparator "+userSeparator);
System.out.println("fileName before inserting userSeparators "+fileName);
fileName = fileName.substring(fileName.lastIndexOf(userSeparator)+1,fileName.length()-1);
System.out.println("fileName after userSeparators "+fileName);
if(fileName.startsWith( "\""))
fileName = fileName.substring( 1);
name = name.substring(1,name.length()-1);
System.out.println("name 2 --> "+name);
System.out.println("final file name "+fileName);
if (name.equals("file"))
if (buffer!=null)
buffer.close();
lastFileName = fileName;
buffer = new java.io.FileOutputStream("/Documents and Settings/sunil/Desktop/images/"+fileName);
else if(s.startsWith("Content-Type") && state==1)
System.out.println("-- 2 --");
state = 2;
contentType2 = s.substring(s.indexOf(":")+2,s.length()-2);
System.out.println("contentType2 --> "+contentType2);
else if(s.equals("\r\n") && state != 3)
System.out.println("-- 3 --");
state = 3;
else
System.out.println("-- 4 --");
if (name.equals("file"))
System.out.println("Final x :: "+x);
buffer.write(b,0,x);
} // while closing
sis.close();
buffer.close();
}catch(java.io.IOException e)
err = e.toString();
boolean ok = err.equals("");
if(!ok)
out.println(err);
else
%>
<SCRIPT language="javascript">
history.back(1);
alert('Uploaded <%=lastFileName%>');
window.location.reload(false);
</SCRIPT>
<%
out.println("done");
%>
</BODY>
</HTML>
I think it will solve ur problem.. -
Probably an easy one but I haven't found out:
how can I resize an image (jpeg, tiff etc)??? Using standard Tiger tools that is (not having to buy stuff).
Thx in advance
ManfredDid you get a copy of iPhoto with your Mac Book Pro? If so, drag your images into it. After that, double click on an image in the iPhoto library to edit it (such as cropping or color correcting). Then, click on File > Export. On this window you will be able to resize the image and save it to another location such as your Desktop.
-
How to resize images on book pages
Friends,
My wife is making a book in Aperture (latest version). Somehow, she structured it so that each image has a border around it, like a snapshot. This probably makes sense, since her theme is "snapshots." However, she is unable to resize the images on the page. Is it possible to do so? How?
As an aside, we can add new photo boxes, but they lack a border. However, they can be resized.
Any thoughts would be helpful.
Thanks!
SteveIt is possible to resize photos with or without borders while in "Edit Layout" mode, but not in "Edit Content" mode.
To adjust and add/remove borders, click on the gear below the pages window, then click on "Show Layout Options". The options then appear above the pages window where you can adjust the size (thickness) and color of the border.
You can also rotate the photo box too, with the "Angle" setting. Increasing the angle number rotates the photo box counter clockwise, so in order to get to rotate the "other" direction you simply have to increase the angle around the higher end of a circle (360 degrees), or say 345 degrees. Play with it, it makes sense when you do it.
Hope that helps.
Bob -
Resizing image within Canvas with mouse ?
Hi,
I am developing a paint program. In this I want to use selection tool as like microsoft paint. That select an area. and then resize it. Firstly i want to know about is how to select a particular area within canvas. and after selection can i resize it with mouse. Please help me.
Thanks in advance.
ManveerManveer-Singh wrote:
Hi,
I am developing a paint program. In this I want to use selection tool as like microsoft paint. That select an area. and then resize it. Search google for my Resizeable class. This will only work on Components, but you could build a component that as it resizes, it resizes the image.
Firstly i want to know about is how to select a particular area within canvas. and after selection can i resize it with mouse. Please help me. You may want to search google to see if you can find my MouseDragOutliner class.
keywords include tjacobs and java :-)
Maybe you are looking for
-
I have an ID-book made out of 10 InDesign documents. Everything is fine, but one thing. One of the chapters (#4) is made out of two ID documents: "chapter4a.indd" and "chapter4b.indd". The chapter number, which is automatically given by the book, is
-
my hp office jet 4500 wireless printer lost its connection. Tehre is nothing in the printer que. How do i reconnect my wirelss printer?
-
Sharepoint Designer Wont Publish workflow
I am trying to publish a work flow I keep getting the error below, anyone have a solution? System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Auth
-
SOAP APIs needed to extract SOAP request arguments for message handler implementation
1. I am facing problem in using the Message Handler approach for the implementation of webservices using SOAP on BEA weblogic 8.1. A SOAP request(XML format) can be interrupted using the message handler and hence can be modified before it invokes the
-
Please why can't I buy iTunes gift card? (Nigeria)
iit seems it's only allowed within US which I honestly think is odd. If you can charge our accounts/cards for every other thing then why not gift cards? Please help explain this. Thanks.