Fixing size of objects
Hi, I'm new with PE 6 and I'm trying to passport picture in which the the whole picture has to have a certain size, which is "easy" selecting the size on the printer, however the top part of it has to have a space of 5 mm between the top of the head and the edge of the picture.
As well the head muss be maximum 29 mm high.
I hope you know how to do this kind of calculations in order to print the requested picture. Here is not because of not paying the pictures, it's more like knowing how to work with PE.
Thanks!
Daniel,
I made 2 pictures to specification for this purpose about a year ago. Take the head shot against a white background - I used a projection screen placed outdoors on a good day for balanced lighting. Open picture in Editor. Working in layers is a must, so have the layers palette visible.
1. Duplicate background layer, work on background copy layer.
2. Set resolution between 240-300px/in in order to get good print
3. Access the magic wand tool, click on white background, hit delete on keyboard
4. Go to Edit>copy
5. Open new blank document, 2x2", same resolution as in step #2, background>white
6. Go to Edit>paste
7. Access move tool and with corner handles adjust size. In my version of PE I hold down the shift key in order to preserve aspect ratio, but I understand that in later versions this is not mandatory.
8. One can use the other handles gingerly in order fine-tune one of the requisite dimensions if necessary.
9. It is helpful to have the rulers and the grid displayed for orientation.
HTH,
Ken
Similar Messages
-
Fixed Size Thread Pool which infinitely serve task submitted to it
Hi,
I want to create a fixed size thread pool say of size 100 and i will submit around 200 task to it.
Now i want it to serve them infinitely i.e once all tasks are completed re-do them again and again.
public void start(Vector<String> addresses)
//Create a Runnable object of each address in "addresses"
Vector<FindAgentRunnable> runnables = new Vector<FindAgentRunnable>(1,1);
for (String address : addresses)
runnables.addElement(new FindAgentRunnable(address));
//Create a thread pool of size 100
ExecutorService pool = Executors.newFixedThreadPool(100);
//Here i added all the runnables to the thread pool
for(FindAgentRunnable runnable : runnables)
pool.submit(runnable);
pool.shutdown();
}Now i wants that this thread pool execute the task infinitely i.e once all the tasks are done then restart all the tasks again.
I have also tried to add then again and again but it throws a java.util.concurrent.RejectedExecutionException
public void start(Vector<String> addresses)
//Create a Runnable object of each address in "addresses"
Vector<FindAgentRunnable> runnables = new Vector<FindAgentRunnable>(1,1);
for (String address : addresses)
runnables.addElement(new FindAgentRunnable(address));
//Create a thread pool of size 100
ExecutorService pool = Executors.newFixedThreadPool(100);
for(;;)
for(FindAgentRunnable runnable : runnables)
pool.submit(runnable);
pool.shutdown();
try
pool.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS);
catch (InterruptedException ex)
Logger.getLogger(AgentFinder.class.getName()).log(Level.SEVERE, null, ex);
}Can anybody help me to solve this problem?
Thnx in advance.Ravi_Gupta wrote:
*@ kajbj*
so what should i do?
can you suggest me a solution?Consider this thread "closed". Continue to post in your other thread. I, and all others don't want to give answers that already have been given. -
CL_GUI_DOCKING_CONTAINER with fix size
Hi!
Is it possible to create instance of CL_GUI_DOCKING_CONTAINER with fix size?lv_style = cl_gui_control=>ws_child + cl_gui_control=>ws_border + cl_gui_control=>ws_visible.
CREATE OBJECT docking
EXPORTING
repid = repid
dynnr = dynnr
side = docking->dock_at_top
ratio = 80
style = lv_style
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6 -
Is it possible to make a fixed size page in muse, so it doesn't resize?
I want to make a fixed size page (pic1),
but there always an extra space on the bottom… pic2Thank you for reply - I will check it out…
Date: Wed, 18 Dec 2013 09:07:46 -0800
From: [email protected]
To: [email protected]
Subject: Is it possible to make a fixed size page in muse, so it doesn't resize?
Re: Is it possible to make a fixed size page in muse, so it doesn't resize?
created by Zak Williamson (Adobe) in Help with using Adobe Muse CC - View the full discussion
Assuming the screenshots are of the same page, the one that's taller is either taller because the minimum page height has been changed or due to some page content (that's not marked as a Footer Item) being located in the new space. This may be an empty text frame or the transparent area of a widget, text frame or other object.
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5941664#5941664
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5941664#5941664
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5941664#5941664. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Help with using Adobe Muse CC at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0. -
Deatailed Navigation Panel Fixed size
Dear support,
I need to hide the Navigation Panael Header. In other words to have a fixed size navigation panel, equal to "SDN" Portal navigation panel.
How can I obtain that?
Thanks in Advance,
Best regards
NicolaHi Nicola,
To remove the detailed navigation header u need to edit the default frame workpage.
Open the Default frame work page
>>select the desktop inner page and open for editing
>>select the detailed navigation iview and open for editing
>> find the property 'Show Object Name in Tray' set that property to false.
>>Save and close
Thats all, the header will not be displayed any more.
Hope this Helps
gEorgE -
Fixing size of frame and player
hi! have problem defining a fixed size for my gui and the player that plays inside it can anyone help? thx
Whether for java.awt.Frame or javax.swing.JFrame, use the setPreferredSized() method... Check the API on usage...
Here is an example...
theFrame.setPreferredSize(new Dimension(300,75));as you can see from the APIs, setPreferredSize takes a Dimension object... You will have to play around with the numbers to get your desired results...
- MaxxDmg...
- ' He who never sleeps... ' -
How to resize a jpg/gif file to a fix size using jimi ?
I have search from the web and didn't find any example on doing this.
Can any one give example on how to resize a jpg image. let say 120x240
to a fixed size 40x40 ?
thank youHi.
When you got that image in form of a file, just load it and invoke the image's getScaledInstance(...)-method.
Here's how it could work:
import java.awt.*;
public class Test {
public static void main(String[] argv) {
// define where the image comes from:
URL toImage = new URL("file:/C:/test.jpg"); // or the like
// get the image:
Image image = Toolkit.getDefaultToolkit().createImage(toImage);
// scale the image to target size (40x40 here):
Image smallImage = image.getScaledInstance(40, 40, Image.SCALE_DEFAULT);
// you might want to do other things like displaying it afterwards
}HTH & cheers,
kelysar -
How to change Font Size of Object Explorer in "SQL Server Management Studio"
Dear Team,
"SQL Server Management Studio" is a fantastic IDE for the database.
There are so many customization options available but one thing many users missing is that " How to change Font Size of Object Explorer?"
Can you please accumulate this feature in IDE ASAP?
Many Thanks,
BhaveshIts there
Go to Tools -> Options
Then under Environment you've fonts and colors tab where you can specify a higher font size.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Fixed size regions in Apex 4.0
It is possible to create a fixed size regiion - that is only using half of the screen height to have a report (and having a bar to on the right to move up/down) ?
I'm going to use it for a 2+ master-detail report.
regards
MetteHi Mette,
what region template and which theme are you exactly using? For most region templates you can pass in additional style attributes with the "Region Attributes" property in the "Attributes" section of a region definition.
So for example you could use
style=\"height:500px;overflow-y:scroll\"(remove the \ out of the code example)
Regards
Patrick -
Hyper-V 2012 R2 - Fixed Size VHDX Have VMs Paused Due to Disk Space Shortage
I am running Hyper-V Server 2012 R2 (Server Core). I have an SSD boot drive and a 10 Tb Storage Space HDD (Double Pairty - RAID6) where all VMs are stored.
I have one VM setup with an expanding VHDX file. It is setup with thin provisioning for 2 Tb and about 1.5 Tb is currently used. The VM paused due to physical disk space (SS drive) being low. I turned off this VM and tried to start a different
VM that has two fixed size VHDX files (also on the SS drive). This second VM would not start either. I got the same error message, as occurred on the first VM, about the physical disk space being low. There was about 10-20 Mb of physical
space left of my SS HDD when these errors occurred.
Given the first VM is setup with an expanding VHDX that makes sense to me that at some point there may not be enough physical disk space for the VM to expand and continue to run.
But given my second VM is using a fixed VHDX it doesn't make sense to me that I cannot get this VM to start. Even if the Storage Space disk were completely full I would expect this VM to be able to start?
Thanks for any assistance you can provide.
TheokratHi Theokrat,
"The HDD was setup with approximately 5 Tb storage pool as double parity."
"My first VM has a 4 Tb fixed VHDX. Thus there was only about
1 Tb free space left for the second VM."
"And for the VMs I'm asking about I set up those options to point to my HDD which is the D drive."
So, there are two VMs (the first VM has 4TB disk , the
second VM has 1TB disk )and all of the VMs' files
are stored on the 5TB HDD (the 1TB VHDx is dynamical) .
You turned off the second VM when it was paused due to lacking of disk space (before this the first VM is off ).
When you start the first VM , it still can not start and the error arose again ,right ?
If there is no any other factor led to disk usage increasing , I think the issue might be the startup memory of first VM is larger than or equal to the second VM's .
Please try to check that , if it is true , you can try to set lower memory for the first VM then start it again .
Best Regards
Elton JI
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Try the Forte trace flag, trc:os:5:5.
It will tell you the size and number of objects in memory.
(Note: I don't think it well put together your entire object graph
for you.
(e.g. If you have pointers to other complex objects hanging
off of your object, I don't believe they are reflected in the
object size.)
Hope this helps!
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of
[email protected]
Sent: Thursday, October 01, 1998 12:55 PM
To: [email protected]
Subject: Size of Objects
I am trying to find the size of an object in memory. Can someone tell me
what the best way is?
If I store the object in a MemoryStream, the Size() method return the
total bytes in the stream, but
does this correspond to the size of the object in memory?
Regards,
Peter Kelly
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>I used to serialize the object and inspect the size of
the file.
This way it worked fine for me.
Hope this helps!
Ajith Kallambella M
Forte Systems Engineer,
International Business Corporation.
I am trying to find the size of an object in memory.Can someone tell me
what the best way is?
If I store the object in a MemoryStream, the Size()method return the
total bytes in the stream, but
does this correspond to the size of the object inmemory?
Regards,
Peter Kelly-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive<URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
How to set fixed size for inputfile text field
Hi all,
I am using inputfile component to test file uploading so I created a simple upload page. When I finished upload the file, the input text field will "shrink" its size and change the size to adjust the file name. Is there any way to set a fix size for input text field?
Here is some part of the code:
<af:form id="f1" usesUpload="true">
<af:panelHeader text="File Uploader" id="ph1">
<af:inputFile label="File to upload" id="if1" autoSubmit="true" valueChangeListener="#{fileBean.fileUpdate}"
value="#{fileBean.file}" partialTriggers="if1"
columns="50"/>
</af:panelHeader>
<af:commandButton text="Save" id="cb1"/>
FileBean:
public void fileUpdate(ValueChangeEvent valueChangeEvent) {
RichInputFile inputFileComponent = (RichInputFile)valueChangeEvent.getComponent();
UploadedFile newFile = (UploadedFile)valueChangeEvent.getNewValue();
UploadedFile oldFile = (UploadedFile)valueChangeEvent.getOldValue();
Thanks,
Jerryyou can set columns attribute in af:inputfile. Please see highlighted area i have inserted to you code
<af:form id="f1" usesUpload="true">
<af:panelHeader text="File Uploader" id="ph1" columns = "34" >
<af:inputFile label="File to upload" id="if1" autoSubmit="true" valueChangeListener="#{fileBean.fileUpdate}"
value="#{fileBean.file}" partialTriggers="if1"
columns="50"/>
</af:panelHeader>
<af:commandButton text="Save" id="cb1"/> -
How to set a fixed size window, so that moving 2D pictures wouldnt go off?
Hi
I dont if this question has been asked or no & also not sure if its right to be posted here as my problem is a java 2D graphics problem in swing environment.
I want to know is how can i set the window to a fixed size with boundaries such that my graphics 2D picture in the swing window will not go off the edges of window when i do some transformations with the 2D picture.
For e.g:
so far ive got a frame window of size 350 by 350 with my 2D picture inside it made up of shapes etc...
when i apply some transformation to it (moving it) for a distance it goes disappeared off window beyond 350 and will come back if i move it back.
So how do i restrict the window so that when picture reaches the edge, it will not be able to move any further?
Do i set some specific bounds to the JFrame?
i hope i've explained it properly
ThanksIn a 2D coordinate system the horizontal values are represented by some letter, usually x. In the same coordinate system the vertical values are classically represented by y.
Note: In your code, if you wish, you can replace x and y with anything you desire--p and q or perhaps jeff and alice or any variable name you wish, but for simplicity, and usually ease of understanding because almost everyone has had 100's of math problems drilled into their head with (x, y), x and y are used as convention.
In Java the screen coordinates run from 0 to the width-1 for x and 0 to height-1 for y of the component you are using to display.
So logically when you have a value of x or y that goes beyond the addressable bounds of your display, then you have to make some type of adjustment--when your value dips below 0, you reset it to 0, when your value goes above what ever width-1 or height-1 then you have to set that value to width-1 or height-1.
This all assumes that when you hit the wall, floor, or ceiling you stick there until you change directions--if you wish to wrap then you set your value to the opposite bound--so if you go below 0, you would then pop out back in on the right side--your appropriate x would be set to width-1 instead of 0 and in the case of y going below 0 your y would be set to height-1. This is also to say that when you descend below your minimum, then you would pop back out on the opposite side you went out on--so x greater then width-1 would get set to 0 and y greater than height-1 would get set to 0.
That is not even a start on if you want to include elastic collisions, angle of impact, any type of deceleration force, or anything else.
In any case... I would recommend that you add more math to your studies, I've never met an engineer or computer science grad that said: "Wow, I really regret taking all that math in college (or HS), I never use it." -
How to view the physical size of objects
Hi
Please advise how to view the physical size of objects like tables, indexes, materialize views etc.
Wishes
JawadTo see the physical size of objects like tables, indexes, use
USER_SEGMENTS where SEGMENT_TYPE=table/index/partition etc.
But for views/packages/java/trigger, you can only see rough estimate in USER_OBJECT_SIZE -
Still not supporting relative size of objects?
Hi everybody!
Am I blind? Just downloaded and installed iWork '09, hoping they added the possibility to adjust the size of objects like pictures in a relative manner, finally.
Let's say, you have some screenshots for creating a documentary. All of different sizes. You want all of them to appear in your Pages document at 50 % of their original size. How can you manage this? I still didn't find a way for this simple task.
Have I really to use Word for Pages can't help me with this?
Regards,
OlafApple deliver with the operating system several scripts allowing us to manipulate our pictures.
Here is one of them edited to divide the pictures dimensions by two.
--[SCRIPT Half_size}
property done_foldername : "Reduced Images"
property originals_foldername : "Original Images"
property newimage_extension : "jpg"
-- the list of file types which will be processed
-- eg: {"PICT", "JPEG", "TIFF", "GIFf"}
property type_list : {"TIFF", "GIFf", "PNGf", "PICT", "JPEG"}
-- since file types are optional in Mac OS X,
-- check the name extension if there is no file type
-- NOTE: do not use periods (.) with the items in the name extensions list
-- eg: {"txt", "text", "jpg", "jpeg"}, NOT: {".txt", ".text", ".jpg", ".jpeg"}
property extension_list : {"tif", "tiff", "gif", "png", "pict", "pct", "jpeg", "jpg"}
on adding folder items to this_folder after receiving these_items
tell application "Finder"
if not (exists folder done_foldername of this_folder) then
make new folder at this_folder with properties {name:done_foldername}
end if
set the results_folder to (folder done_foldername of this_folder) as alias
if not (exists folder originals_foldername of this_folder) then
make new folder at this_folder with properties {name:originals_foldername}
set current view of container window of this_folder to list view
end if
set the originals_folder to folder originals_foldername of this_folder
end tell
try
repeat with i from 1 to number of items in these_items
set this_item to item i of these_items
set the item_info to the info for this_item
if (alias of the item_info is false and the file type of the item_info is in the type_list) or (the name extension of the item_info is in the extension_list) then
tell application "Finder"
--set name of this_item to "YK#" & (text -4 thru -1 of ("0000" & i))
my resolveconflicts(thisitem, originals_folder, "")
set the new_name to my resolveconflicts(thisitem, results_folder, newimage_extension)
set the source_file to (move this_item to the originals_folder with replacing) as alias
end tell
processitem(sourcefile, new_name, results_folder)
end if
end repeat
on error error_message number error_number
if the error_number is not -128 then
tell application "Finder"
activate
display dialog error_message buttons {"Cancel"} default button 1 giving up after 120
end tell
end if
end try
end adding folder items to
on resolveconflicts(thisitem, target_folder, new_extension)
tell application "Finder"
set the file_name to the name of this_item
set file_extension to the name extension of this_item
if the file_extension is "" then
set the trimmed_name to the file_name
else
set the trimmed_name to text 1 thru -((length of file_extension) + 2) of the file_name
end if
if the new_extension is "" then
set target_name to file_name
set target_extension to file_extension
else
set target_extension to new_extension
set target_name to (the trimmed_name & "." & target_extension) as string
end if
if (exists document file target_name of target_folder) then
set the name_increment to 1
repeat
set the new_name to (the trimmed_name & "." & (name_increment as string) & "." & target_extension) as string
if not (exists document file new_name of the target_folder) then
-- rename to conflicting file
set the name of document file target_name of the target_folder to the new_name
exit repeat
else
set the name_increment to the name_increment + 1
end if
end repeat
end if
end tell
return the target_name
end resolve_conflicts
-- this sub-routine processes files
on processitem(sourcefile, new_name, results_folder)
-- NOTE that the variable this_item is a file reference in alias format
-- FILE PROCESSING STATEMENTS GOES HERE
try
-- the target path is the destination folder and the new file name
set the target_path to ((results_folder as string) & new_name) as string
with timeout of 900 seconds
tell application "Image Events"
launch -- always use with Folder Actions
set this_image to open file (source_file as string)
scale this_image by factor 0.5
save this_image as JPEG in file target_path with icon
close this_image
end tell
end timeout
on error error_message
tell application "Finder"
activate
display dialog error_message buttons {"Cancel"} default button 1 giving up after 120
end tell
end try
end process_item
--[/SCRIPT]
If you don't know the way we use that, enter the Finder's Help and search for "folder action".
Yvan KOENIG (from FRANCE vendredi 16 janvier 2009 20:26:11)
Maybe you are looking for
-
Removing podcast episodes from iTunes 12 but keeping the files
I want to be able to remove a podcast episode from iTunes 12 but keep the audio file on my computer. This used to be an option, but now I am no longer asked if I want to keep the file. It's just automatically moved to the Trash. I like to archive pod
-
Price change at the time of service entry
Dear all, Please help me out to find how to change the price of service item at the time of service entry sheet. I am working on 4.6C and getting the price field not editable after accepting the items from the PO. Please respond with the prrocess how
-
Can I use Folio Builder with my Adobe ID on another computer?
I'm working in Windows XP. I have a folio hosted in my free acrobat.com workspace, with the source files on a network drive. If I sit at someone else's computer in my workgroup and log in to Folio Builder, I can see my folio and can edit and save the
-
The mat.code was split_valuated & cost estimated. We want to change price update through Mr21. So that we had deleted the cost estimate previous & current through CKR1. The process run was ok. Then we have run the MR21 but the error is showing. A cur
-
Hi: We are using SAP 6.0. We are trying to settle to an AuC and then to an asset. The process works fine till creation of an asset but in the accounting document the profit center is not assigned to the Fixed asset APC account. In other words the doc