Possible to resize pic according to own width and height ratio?
Hi there
Usually when resizing (or exporting) a picture, iPhoto automatically chooses an appropriate combination of width and height for us. For example, if I wanted to reduce the width to 320 pixels, iPhoto automatically updates the height to 240, making the resized pic to be 320x240.
However, I need to resize a picture to become 300x300. How can I do that? When I type in 300 for width, iPhoto keeps automatically putting the height as 225, making the picture 300x225, but I need 300x300. Is there a way to manually choose how I want to resize the pic?
Thanks in advance.
teriyip:
What you need to do before exporting is to crop to the size ratio, in this case square. Then you can put in 300 in one dimension field and the other will come in at 300 also. There's a square option in the Constrain menu.
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
Similar Messages
-
Resize and crop images to a specific width and height
Hi,
I want to convert images to thumbnails with a 'standard' format - I need all images to have the same width and height.
So I need to resize and then crop the images. Is this possibe with JAI? Are there other libraries which can do this better?
I've read about ImageMagick - are the Java interfaces to ImageMagick good?
/best regards, Håkan Jacobsson - System developer in SwedenDuplicate posting, answers are here
http://forums.sun.com/thread.jspa?threadID=5419291
Pleas don't duplicate unless you note that you have done so and provide pointers to the duplicates - as I'm sure you're aware. . . -
Excel 2007. OLAP pivot. How do you resize dropdown width and height?
Excel 2007. OLAP pivot. How do you resize dropdown width and height?
hi,
I'm afraid we can't modify that property in Excel. Someone had suggested to use a custom combo box to replace the built-in drop-down. However it will lose the features which are only available
for built-in drop-down.
Hope this
thread will give you some ideas. Thank you. -
Hey guys i have recorded some videos on my iphone and i have synced them to my mac.
i would now like to edit them using imovie, the only problem i have is that when i open them in imovie, quicktime, vlc etc etc, they all playback at the same width and height as the iphone screen.
now is there any way using imovie that i would be able to resize the video to make it larger so that the video is the correct height and width of a video that you would see on youtube.
If this makes sense and if there is anyway of doing please let me know as i have tried looking for a shortcut or a plug in everywhere and i just cant seem to do it.
Thanks
Sean.you probably recorded in 'portrait' orientation instead of videos standard 'landscape' ...
as my ex-wife always and approx. 75% of all 'phone movie maker' do ...
read in iMovies Help, how to use the CROP tool. -
[JS] Page item (rectangle frame) width and height
Following is my attempt at writing a function for width and height. It appears to work on rotated and sheared objects. Can anyone tell me if I'm on the right track?
>function WidthAndHeight(myRectangle) // Returns an array [width,height]
]var myRectangleTopLeft = myRectangle.resolve(AnchorPoint.topLeftAnchor, CoordinateSpaces.pasteboardCoordinates, true);
var myRectangleTopRight = myRectangle.resolve(AnchorPoint.topRightAnchor, CoordinateSpaces.pasteboardCoordinates, true);
var myRectangleBottomLeft = myRectangle.resolve(AnchorPoint.bottomLeftAnchor, CoordinateSpaces.pasteboardCoordinates, true);
]var d1x = (myRectangleTopRight[0][0] - myRectangleTopLeft[0][0]);
var d1y = (myRectangleTopRight[0][1] - myRectangleTopLeft[0][1]);
var myWidth = hypotenuse(d1x,d1y);
var d2x = (myRectangleTopLeft[0][0] - myRectangleBottomLeft[0][0]);
var d2y = (myRectangleTopLeft[0][1] - myRectangleBottomLeft[0][1]);
var myHeight = hypotenuse(d2x,d2y);
]return [myWidth,myHeight];
]function hypotenuse(d1,d2)
]]return Math.sqrt ( Math.pow(d1,2) + Math.pow(d2,2) );Dave, you are absolutely right (no surprise here) about always returning points. I'm not sure, but I think this may actually be an InDesign bug. At the end of the 'resolve' method the 'true' value is meant to indicate 'use ruler units', I believe. Having read the documentation, however, it does seem like certain transformation coordinate spaces functions only work in points.
To make this a more complete function, I've updated it to include a conversion to the current ruler units. I'm using the UnitValue object, and perhaps I'm misunderstanding something, but I cannot easily convert to a new UnitValue using the ruler measurements enumerations (it requires a string value to represent the target units). So I've had to include a switch function to get from the enumeration to the string value. Also, the UnitValue object does not seem to work with agates, and I haven't gone so far as to write my own conversion function for that, so the function has to exit with an alert if the user has agates as their ruler units.
If anyone can offer a more elegant way of dealing with this, it would be great. Or even better, some insight into why the resolve method does not seem to honour the ruler units. This _is_ getting a bit over-the-top for a simple width and height function. Maybe Adobe will consider just adding the property to the page item and putting us all (well, certainly me, anyway) out of our misery (I've put in a feature request).
> function WidthAndHeight(myRectangle) // Returns an array [width,height]
]] var myRectangleTopLeft = myRectangle.resolve(AnchorPoint.topLeftAnchor, CoordinateSpaces.pasteboardCoordinates, true);
var myRectangleTopRight = myRectangle.resolve(AnchorPoint.topRightAnchor, CoordinateSpaces.pasteboardCoordinates, true);
var myRectangleBottomLeft = myRectangle.resolve(AnchorPoint.bottomLeftAnchor, CoordinateSpaces.pasteboardCoordinates, true);
]] var d1x = (myRectangleTopRight[0][0] - myRectangleTopLeft[0][0]);
var d1y = (myRectangleTopRight[0][1] - myRectangleTopLeft[0][1]);
var myWidth = hypotenuse(d1x,d1y);
var d2x = (myRectangleTopLeft[0][0] - myRectangleBottomLeft[0][0]);
var d2y = (myRectangleTopLeft[0][1] - myRectangleBottomLeft[0][1]);
var myHeight = hypotenuse(d2x,d2y);
]] var myHorizontalUnits = unitsEnumToString(app.documents[0].viewPreferences.horizontalMeasurementUnits);
var myVerticalUnits = unitsEnumToString(app.documents[0].viewPreferences.verticalMeasurementUnits);
]] myWidth = new UnitValue(myWidth,"points");
myHeight = new UnitValue(myHeight,"points");
]] myWidth = myWidth.as(myHorizontalUnits);
myHeight = myHeight.as(myVerticalUnits);
]] return [myWidth,myHeight];
]] function hypotenuse(d1,d2)
]]]] return Math.sqrt ( Math.pow(d1,2) + Math.pow(d2,2) );
]] function unitsEnumToString(myUnitsEnum)
]]]] switch(myUnitsEnum)
]]]]]] case 2054188905 :
]]]]]]] return "points";
]]]]]] case 2054187363 :
]]]]]]] return "picas";
]]]]]] case 2053729891 :
]]]]]]] return "inches";
]]]]]] case 2053729892 :
]]]]]]] return "inches decimal";
]]]]]] case 2053991795 :
]]]]]]] return "millimeters";
]]]]]] case 2053336435 :
]]]]]]] return "centimeters";
]]]]]] case 2053335395 :
]]]]]]] return "ciceros";
]]]]]] default :
]]]]]]] alert("Cannot convert to the current ruler units. Sorry.");
exit(); -
Can I adjust pixel width and height in iPhoto?
I'm trying to find out if it's possible to adjust pixel width and height of a photo without cropping it. iPhoto Help was no help at all.
Thanks.
iBook Mac OS X (10.4.4)For uploading to a site this is the way to do it.
If you wanted to use in another application, you can drag and drop if it is supported, and then use that other application to resize. You can also set up a graphic application as an external editor.
I find it just as quick and easy to export to the desktop, then delete the photos on the desktop when I am done. -
Help to edit width and height of menu?
http://www.ivoog.com/link4
How can I edit the width and height of this menu so the
background image fits? Please explain and give code if you can.
Thanks!
Here's the pictures for the menu:
http://www.pics.ivoog.com/boxs1.gif
http://www.pics.ivoog.com/boxs2.gifYour approach simply isn't going to work.
The background image is a fixed width. It will not shrink or
grow like the
text in front of it.
The background image is wider than the word "pie" but not as
wide as the
word "sigh".
So, if you add padding to the left and right of the link to
make the whole
background show behind "pie", the same padding is added to
"sigh". Now the
"sigh" link is much wider than the background image. Because
your
background image repeats, you see the left edge of the next
repeating one
behind sigh.
If you remove the padding to make it so you see just one
image behind
"sigh", now the padding around "pie" is too narrow to see the
whole
background.
You could try giving each link a class and having a separate
padding for
each word, but all that is pretty useless because different
people have
different text size settings in their browsers.
In some browsers, the words will be bigger than the
background image.
In others, the words will be small and you'll only see part
of the
background.
The free tutorial I sent you is just that, a tutorial.
You do the work, you have the copyright.
If you are not interested in that one, here's another idea.
You can use borders and simple background , like a gradient,
to make a tab
that looks just like your tab images and sizes along with
your text...no
matter how long the word is and no matter what size the text
is.
Here's the free tutorial.
You don't even have to do the whole thing, just the first
part where it
shows you how to make links that look like image buttons.
http://projectseven.com/tutorials/css/uberlinks/index.htm
Good luck,
Tim
"hahahaadobeman" <[email protected]> wrote
in message
news:[email protected]...
> Thanks for answering and sorry for the confusion. The
only problem with
> purchasing and doing this is copyright. I want to make
my own code for the
> menus so it is not copyrighted by anyone.
>
> Can you help edit the width and height of this menu so
the background
> image
> fits? See how my link4 where it says pie sigh and all
that the background
> of
> that doesn't fit with the image? Can you help with this
problem? Thats all
> I
> really needed but thanks for all the links!
> -
How to create a map that is larger than the game in width and height?
hi,
i wounder how i can create a map(not the design) that is larger than the game in width and height, part of it will appear in the main page and anther part you can move to it after you press the arrow symbol, but the map is just one image so i want put it in line and out line the game page, and the out line part includes buttons and symbols the player can use, but it will be in line and the other part will be out line when you press the left arrow or the down arrow, how i can do that?
and is that possible to animate it so when the player press the arrow, will give it action to start the animation in one sec, i know how to animate it if that possible but i don't know which code i will use for the mouse click with the arrow symbol, and how to use the same code in the same symbol to start anther animation depending on which part of the map is on?I don't know a lot about mask and masked layers and how to work with the normal layers beside i will use some 3D graphics but not in the background, i will explain all this to you to be more clearly.
first i am using action script 3.0
close ex,
you have 2d map"image" 900*300 pixel.
this image contains some 2d symbols when you click will go to anther normal map (anther normal layer) so they must appear.
your game 320*320 px, and the place the map will show on 300*300, and there's basics objects will be in most pages including the page that show the map so i don't know a lot about how this will work with mask layers.
so you can only see the left side of the map image and what it contains, while there's two arrows one to the left and one to the right there's three cases here,
first when it show the left side(start from x:0 to x:300), the left arrow will not active when you press and the right arrow will start an animation that make the map image move to the mid side in one sec when you press.
in mid side (start from x:301 to x:600) the same left arrow will active when you press to send you back to the left side while the same right arrow will be active to send you not to the mid side but to the right side,
when moved to the right side the same left arrow will be active to send you to the mid and the right will not active when you press and depending on that,
first how to make the large image appear with the three sides in the same place without effecting the other objects "like disappearing them" ?
and the codes i need in the same left or right arrow symbol to make different actions with the same symbol when clicked depending on which part of the map is on. -
Pdf in new window full width and height
Hi i managed to create a new window and add a pdf to it :
var pdf = new air.HTMLLoader();
pdf.height = 600;
pdf.width = 400;
pdf.load(request);
mywin = window.open("",
"pdfWindow","height=600,width=400,top=10,left=10");
mywin.nativeWindow.stage.addChild(pdf)
But i would like to make the pdf scale to the width and
height of the window , i tried width = '100%' but then it doesn't
show a pdf
for the current result see :
ScreenOkay i created a test :
var pdf = new air.HTMLLoader();
pdf.height = 600;
pdf.width = 400;
pdf.load(request);
mywin = window.open("",
"pdfWindow","height=700,width=500,top=10,left=10");
mywin.nativeWindow.stage.addChild(pdf)
pdf.width = mywin.nativeWindow.stage.stageWidth
pdf.height = mywin.nativeWindow.stage.stageheight
But then the pdf doesn't show, i also think this wouldn't
work on resize of the window ?
Or is there a event that is triggered -
Nested canvas in GridLayout can't get its width and height
Hello,
I have a class entitled DisplayCanvas, which will accept some parameters from an invocation in another class including a shape and message parameters. These parameters must be centered in the instance of DisplayCanvas.
For some reason, when I use this.getWidth() and this.getHeight() within my DisplayCanvas class, I get 0 and 0! I need the width and height in order to center the parameters the user will enter.
Why does the width and height result at 0? What can I do to get the width and height?
In my DisplayCanvas class notice the lines:
canWidth = this.getWidth();
canHeight = this.getHeight();
For some reason the result is 0 for each!
Here is my code for the DisplayCanvas class:
//import the necessary clases
import java.awt.*;
import java.applet.*;
import javax.swing.*;
//begin the DisplayCanvas
public class DisplayCanvas extends Canvas
//declare private data members to house the width and height of the canvas
private int canWidth;
private int canHeight;
//declare private data members for the shape and message
private String message;
private String shape;
private Color sColor;
private int sWidth;
private int sHeight;
private String font;
private Color ftColor;
private int ftSize;
//declare public data members
//constructor of DisplayCanvas
public DisplayCanvas()
//set the width and height
canWidth = this.getWidth();
canHeight = this.getHeight();
//set all data members to defaults
message = "";
shape = "";
sColor = null;
sWidth = 0;
sHeight = 0;
font = "";
ftColor = null;
ftSize = 0;
} //end the constructor
//begin the setParams function
public void setParams(String m, String s, Color c, int w, int h,
String f, Color ftC, int ftS)
//set all private data members of DisplayShape to the arguments
//this function assumes error checking was done by DemoShape
message = m;
shape = s;
sColor = c;
sWidth = w;
sHeight = h;
font = f;
ftColor = ftC;
ftSize = ftS;
} //end the setParams function
//begin the public paint function of ShowShape
public void paint(Graphics g)
//set and output the shape according to the arguments
//determine the x and y of the shape
int x = (canWidth - sWidth) / 2;
int y = (canHeight - sHeight) / 2;
//set the color for the graphic object
g.setColor(sColor);
//output the shape
g.drawRect(x, y, sWidth, sHeight);
//set and output the message according to the arguments
//set the color and the font for the graphic object
g.setColor(ftColor);
g.setFont(new Font(font, Font.PLAIN, ftSize));
//determine the centering of the message
//output the message with the settings
g.drawString(canWidth + " " + canHeight, 10, 10);
} //end the paint function of ShowShape class
} //end the DisplayCanvas classHere is my form entry class using the nested DisplayCanvas instance entitled drawCanvas:
//import the necessary java packages
import java.awt.*; //for the awt widgets
import javax.swing.*; //for the swing widgets
import java.awt.event.*; //for the event handler interfaces
//no import is needed for the DisplayCanvas class
//if in the same directory as the DemoShape class
public class DemoShape extends JApplet
//declare private data members of the DemoShape class
//declare the entry and display panel containers
private Container entire; //houses entryPanel and displayCanvas
private JPanel entryPanel; //accepts the user entries into widgets
private DisplayCanvas drawCanvas; //displays the response of entries
//required control buttons for the entryPanel
private JTextField xShapeText, yShapeText, messageText, fontSizeText;
private ButtonGroup shapeRadio;
private JRadioButton rect, oval, roundRect;
private JComboBox shapeColorDrop, fontTypeDrop, fontColorDrop;
//declare public data members of the DemoShape class
//init method to initialize the applet objects
public void init()
//arrays of string to be used later in combo boxes
//some are used more than once
String fonts[] = {"Dialog", "Dialog Input", "Monospaced",
"Serif", "Sans Serif"};
String shapes[] = {"Rectangle", "Round Rectangle", "Oval"};
String colors[] = {"Black", "Blue", "Cyan", "Dark Gray",
"Gray", "Green", "Light Gray", "Magenta", "Orange",
"Pink", "Red", "White", "Yellow"};
//declare variables to assist with the layout
//these are the left and right justified x coordinates
int ljX = 10; int rjX = 150;
//this is the y coordinates for the rows
int yRow1 = 10; //the shape rows
int yRow2 = 40;
int yRow3 = 60;
int yRow4 = 130;
int yRow5 = 150;
int yRow6 = 210; //the message rows
int yRow7 = 240;
int yRow8 = 260;
int yRow9 = 300;
int yRow10 = 320;
int yRow11 = 360;
int yRow12 = 380;
//these are the widths for the text boxes, drop downs
//message entry, big message entry and radio buttons
int tWidth = 30; int dWidth = 100;
int mWidth = 250; int bmWidth = 250;
int rWidth = 125;
//the height is universal, even for the messages!
int height = 25;
//set a content pane for the entire applet
//set the size of the entire window and show the entire applet
entire = this.getContentPane();
entire.setLayout(new GridLayout(1, 2));
//create the entry panel and add it to the entire pane
entryPanel = new JPanel();
entryPanel.setLayout(null);
entire.add(entryPanel);
//create the display canvas and add it to the entire pane
//this will display the output
drawCanvas = new DisplayCanvas();
entire.add(drawCanvas);
//entry panel code
//add the form elements in the form of rows
//the first row (label)
JLabel entryLabel = new JLabel("Enter Shape Parameters:");
entryPanel.add(entryLabel);
entryLabel.setBounds(ljX, yRow1, bmWidth, height);
//second row (labels)
JLabel shapeTypeLabel = new JLabel("Select Shape:");
shapeTypeLabel.setBounds(ljX, yRow2, mWidth, height);
entryPanel.add(shapeTypeLabel);
JLabel shapeColorLabel = new JLabel("Select Shape Color:");
shapeColorLabel.setBounds(rjX, yRow2, mWidth, height);
entryPanel.add(shapeColorLabel);
//third row (entry)
rect = new JRadioButton("Rectangle", true);
oval = new JRadioButton("Oval", false);
roundRect = new JRadioButton("Round Rectangle", false);
rect.setBounds(ljX, yRow3, rWidth, height);
oval.setBounds(ljX, yRow3 + 20, rWidth, height);
roundRect.setBounds(ljX, yRow3 + 40, rWidth, height);
shapeRadio = new ButtonGroup();
shapeRadio.add(rect);
shapeRadio.add(oval);
shapeRadio.add(roundRect);
entryPanel.add(rect);
entryPanel.add(oval);
entryPanel.add(roundRect);
shapeColorDrop = new JComboBox(colors);
shapeColorDrop.setBounds(rjX, yRow3, dWidth, height);
shapeColorDrop.addFocusListener(new focusListen());
entryPanel.add(shapeColorDrop);
//the fourth row (labels)
JLabel xShapeLabel = new JLabel("Enter Width:");
xShapeLabel.setBounds(ljX, yRow4, mWidth, height);
entryPanel.add(xShapeLabel);
JLabel yShapeLabel = new JLabel("Enter Height:");
yShapeLabel.setBounds(rjX, yRow4, mWidth, height);
entryPanel.add(yShapeLabel);
//the fifth row (entry)
xShapeText = new JTextField("200", 3);
xShapeText.setBounds(ljX, yRow5, tWidth, height);
xShapeText.addFocusListener(new focusListen());
entryPanel.add(xShapeText);
yShapeText = new JTextField("200", 3);
yShapeText.setBounds(rjX, yRow5, tWidth, height);
yShapeText.addFocusListener(new focusListen());
entryPanel.add(yShapeText);
//the sixth row (label)
JLabel messageLabel = new JLabel("Enter Message Parameters:");
messageLabel.setBounds(ljX, yRow6, bmWidth, height);
entryPanel.add(messageLabel);
//the seventh row (labels)
JLabel messageEntryLabel= new JLabel("Enter Message:");
messageEntryLabel.setBounds(ljX, yRow7, mWidth, height);
entryPanel.add(messageEntryLabel);
//the eighth row (entry)
messageText = new JTextField("Enter your message here.");
messageText.setBounds(ljX, yRow8, mWidth, height);
messageText.addFocusListener(new focusListen());
entryPanel.add(messageText);
//the ninth row (label)
JLabel fontTypeLabel = new JLabel("Select Font:");
fontTypeLabel.setBounds(ljX, yRow9, mWidth, height);
entryPanel.add(fontTypeLabel);
JLabel fontColorLabel = new JLabel("Select Font Color:");
fontColorLabel.setBounds(rjX, yRow9, mWidth, height);
entryPanel.add(fontColorLabel);
//the tenth row (entry)
fontTypeDrop = new JComboBox(fonts);
fontTypeDrop.setBounds(ljX, yRow10, dWidth, height);
fontTypeDrop.addFocusListener(new focusListen());
entryPanel.add(fontTypeDrop);
fontColorDrop = new JComboBox(colors);
fontColorDrop.setBounds(rjX, yRow10, dWidth, height);
fontColorDrop.addFocusListener(new focusListen());
entryPanel.add(fontColorDrop);
//the eleventh row (label)
JLabel fontSizeLabel = new JLabel("Select Font Size:");
fontSizeLabel.setBounds(ljX, yRow11, mWidth, height);
entryPanel.add(fontSizeLabel);
//the final row (entry)
fontSizeText = new JTextField("12", 2);
fontSizeText.setBounds(ljX, yRow12, tWidth, height);
fontSizeText.addFocusListener(new focusListen());
entryPanel.add(fontSizeText);
//display panel code
//use test parameters
//these will later be retrieved from the entries
drawCanvas.setParams("Hello", "roundRect", Color.red,
100, 100, "Serif", Color.black, 12);
//set the applet to visible
//set to visible and display
entire.setSize(800, 600);
entire.setVisible(true);
} //end the init method
//declare an inner class to handle events
private class focusListen implements FocusListener
//supply the implementation of the actionPerformed method
//pass an event variable as the argument
public void focusLost(FocusEvent e)
{ JOptionPane.showMessageDialog(null, "Focus lost."); }
//declare an empty focus gained function
public void focusGained(FocusEvent e) {}
} //end testListen class
} //end DemoShape classSorry for glossing over your code sample, particularly as it looks like one of the best I've seen so far on the forums, but I'm pretty sure the answer you are looking for is as follows:
Java doesn't render a component until paint() is called so until then you are not going to have any size settings because the jvm simply doesn't know how big the visual component is. This makes sense when you think about what the jvm is doing. The layout manager controls the display of the components depending on the settings it is supplied. So until it knows how many components you want, where, what kind of spacing, etc, etc, etc, how can the size be determined.
The true cycle of events is therefore:
create an instance of DisplayCanvas,
add it to your container,
make the container visible (which renders the component),
get the size of the DisplayCanvas instance.
You are being hampered because your desired chain of events is:
create an instance of DisplayCanvas,
get the size of the DisplayCanvas instance,
add it to your container,
make the container visible.
This state of affairs is highly annoying and then leads to the next question "what do we do about that?". There is a cunning trick which is to get the jvm to render the component to an off-screen image, thus calculating the dimensions of the component so that you can do precisely the kind of enquiry on the object that you have been looking for. It should be noted that this may not be the visual size for all the reasons given above, but it is the "preferred size" for the component. Check the Swing tutorials and have a look at the section on Layout Managers for a run down on what that means.
Anyway, we can use this handy code sample to determine the preferred size for your component. Notice the call to "paint()" (normally you would never make a direct call to paint() in swing) and the "g.dispose()" to free resources:
package com.coda.swing.desktool.gui;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;
public class PaintUtil
public PaintUtil()
super();
public static Component paintBuffer(Component comp)
Dimension size = comp.getPreferredSize();
comp.setSize(size);
BufferedImage img = new BufferedImage(size.width, size.height, BufferedImage.TYPE_INT_ARGB);
Graphics2D g2 = img.createGraphics();
comp.paint(g2);
g2.dispose();
return comp;
}Before you make a call to getWidth() or getHeight() put in a call to "PaintUtil.paintBuffer(this);" and see what happens.
By the way, I can't claim credit for this code ... and I really wish I could remember where I got it from myself so I can thank them :) -
Change the width and height of Landscape Layout for a report in 10G
Hi,
I'm new to reports and when i built the report in report builder 10g, the layout orientation was 'Landscape', hence I assumed that it'll be a landscape layout.
However, the width and height fields of the main section are 11 and 20 respectively. However, the height should ideally be 8.5. When i try to change it I get the following error message :
Layout canvas must remain large enough to fit layout objects.
Could you please tell me how to change the height of this landscape layout to 8.5 from 20.
The report has several main frames within a repeating frame, since the same report has to run multiple times.
Is it possible to have a repeating page across pages (crossing the horizontal margin) and hence have some of the main frames move down to the next page. I'm trying to do this to then be able to reduce the height of the main section of the report to 8.5. Its not working though because I'm getting the following error :
REP 1814 : Report cannot be formatted. Object "vertically" can never fit R_Main (the name of the repeating frame enclosing all objects)
Thanks,
PriyankaTo reduce the Hieght, first make the layout design fit into the new value..
-
Scripting TGetProperty width and height
Hello all,
i have a problem with the flash player in IE6 and FF2.
I have a html page with some flash movie elements on it.
I'm using SWFObject to bind the movies in.
After the onload event is fired, for each flash movie the
javascript function setCorrectSize4Flash will be called to resize
the html container element (embed, object tag) automatically by the
given width and height of the flash movie.
Therefore i'm checking if the movie is completely loaded and
if width and height is not undefined.
So if i'm getting width and height, i'm resizing the
container element to best fit in.
My problem is now, that the same movie used several times in
the same html page has every time different width and height
values. Sometimes the aspect ratio is 1:2 and sometimes it's 2:1.
Is this a problem of the flash player plugin or am i doing
something wrong.
Best regards,
bartmarkThank you for your answer. But I don't understand:
The question is not the margin. I put in the body margin: 0; padding:0; and there is no margin.
I want to know the viewport: the width and height with the iPad in horizontal position and without the address bar.
This does not coincide with the 1024 x 768. (nor the 946 x 768 if I rest the address bar). I don't understand why
Thank you
Narcís -
Hi,
We are indexing file share with images and get the properties of Image Width, Image Height, Image Size (we show it as refiners in SharePoint after make it managed properties). Somehow when the picture is png format - we see only Size but not height and width.
Is that any setting that should be done in the file share (when i select an image in the windows explorer window i can see all its properties, and it seems that png files do expose the width and height properties
keren tsurHi Keren,
According to your description, my understanding is that when you tried to crawl file share with images, the ows_ImageWidth and ows_ImageHeight crawled property for PNG file could not be generated.
For your issue, I can reproduce your issue in my SharePoint 2013 environment. For a workaround, you can upload the PNG images into SharePoint images Library and they would work fine.
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Flex 4 Premium reference to the Stage issue! width and height seem to be switched??
So I am doing a very basic resize effect with a panel, but if I want it to fill the screen, I have to switch stage.stageWidth and stage.stageHeight. I have also traced them out and they come out as switched values. Anyone else having this issue?
protected function panel1_addedToStageHandler(event:Event):void
trace(stage.stageWidth, " " , stage.stageHeight);Hi,
You maybe running into some sort of layout constraint also it depends on how you are initiating the animation, if you are doing it on startup you need to wait for creationComplete to ensure all your dimensions have been calculated for the browser. You shouldn't need to use stage dimensions either. The following code resizes a panel to fill the browser. (note using top/left/bottom/right is a lot smoother than width and height).
David
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
creationComplete="application1_creationCompleteHandler(event)">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function application1_creationCompleteHandler(event:FlexEvent):void
pw.valueFrom=pnl.width;
ph.valueFrom=pnl.height;
fillscreen.play();
]]>
</fx:Script>
<fx:Declarations>
<s:Animate id="fillscreen" target="{pnl}" repeatCount="1" duration="1000">
<s:SimpleMotionPath id="pw" property="width" valueTo="{width}"/>
<s:SimpleMotionPath id="ph" property="height" valueTo="{height}"/>
</s:Animate>
</fx:Declarations>
<s:Panel id="pnl" width="250" height="200" horizontalCenter="0" verticalCenter="0">
</s:Panel>
</s:Application> -
How to set field width and height at runtime programatically?
Hi all,
I want to set the width and height of a report field by reading its values from the database table.
Is it possible in Oracle reports?
How to achieve this in Oracle reports 10g?
Any help will be highly appreciated.
Thanks .... Best Regards
BilalYou cannot give it a specific value. During design you can set Horizontal and Vertical Elasticity properties to Variable, so the items are automatically scaled when running the report.
Maybe you are looking for
-
Unlocked 4S - Do I have to restore with iOS8?
I have had my iPhone 4S for three years and recently had the phone unlocked by the company i had the contract with. After they had done this they mentioned something about iTunes and several Google searches make it seem like I need to restore the pho
-
How to export 9i and import in 11g for EBS 11i
Hi refered note 557738.1 Export/import notes on Applications 11i Database 11g note 452783.1 Oracle Applications Release 11i with Oracle 11g Release 1 (11.1.0) It required the use of datadump. And upgrade the source database to 10gR2 or 11g. We cannot
-
Planning of subcontracting materials with scrap percentage
Hi All, Need your help for below mention scenario, For planning, where my planning is start with subcontracting materials. To clarify more, strategy group is defined in subcontracting materials. Now when I entering Assembly scrap or Component scrap i
-
Do other batteries from the 12" PB go POP! too ?
Hello. I've got a PB battery model A1060 that I got in may 2005. This battery is getting extremely hot during normal use - so hot that it will bulge and the cover will be pushed out noticeably. The plastic cover near the connectors has become so frag
-
Dear sir I Download XE on Jul'2006 and Currently using the same XE. After That There is So many Changes Was done, how can i Upgrade my old xe to new latest xe , is there is any Patch Available or i have to down load new Application ,Please give me th