DNG Image Width/Length
Nikon 5000 camera. I am converting nefs to dng. I am new to this whole area. I am trying to figure out why previews ina given software (IDImager) look different for the dng vs the nef. As an aside I am looking at eh exif data. For the nef the data are:
Image Width:160
Image Length: 120
For the DNG
Image Width: 256
Image Length: 170
Why are they different? And does it matter since as I understand this only for how the RAW data are viewed in any preview and have no effect on the actual "raw" data.
JD
If you're talking about the JPEG preview image contained within the files, I think the DNG converter is simply creating a little bit larger preview image. This does not have any impact on the raw data.
Similar Messages
-
Not able to get image width after uploading image
hi
I am working on uploading image. Once the image is uploaded I need to know image width and height. Right now I am listening to "complete" event but it seems image is still not loaded when the complete event is raised as it returns image width as zero. This is very urgent and imp for me, Please let me know how can I get the wridth and height of image once it is uploaded on remote server
<mx:VBox width="100%" height="100%">
<mx:Label text="Image" />
<mx:HBox width="100%" height="10%">
<mx:TextInput id="txt_imgname" width="321"/>
<mx:Button label="Browse" click="bn_Browse_Click()"/>
</mx:HBox>
<mx:Canvas width="400" height="264" backgroundColor="#000000" borderStyle="solid" cornerRadius="12" borderThickness="3" borderColor="#222F92">
<mx:ProgressBar id="progressBar" indeterminate="true" visible="false" height="1%" />
<mx:Image id="img" complete="{imageLoadListener(event)}" />
</mx:Canvas>
<mx:HBox width="100%" height="10%" horizontalAlign="right" verticalAlign="middle">
<mx:Button label="OK" id="okbutton" click="bn_ok_click()" />
<mx:Button label="Cancel" click="bn_cancel_click()" />
</mx:HBox>
private function bn_Browse_Click():void
CreateFileReference();
fileReference.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA, onUploadCompleteData);
FileBrowse();
private function FileBrowse():void
try
var success:Boolean = fileReference.browse(allTypes);
catch (error:Error)
Alert.show("Unable to browse for files.");
private function CreateFileReference():void
var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png");
allTypes = new Array(imageTypes);
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, selectHandler);
fileReference.addEventListener(ProgressEvent.PROGRESS, fileRef_progress);
private function selectHandler(event:Event):void
var request:URLRequest = new URLRequest("http://"+TestLoginIntegration.GetServerAddress()+"/FileUpload/Default.aspx");
try
request.contentType = "application/octet-stream";
request.method = "POST";
fileReference.upload(request,fileReference.name,false);
catch (error:Error)
Alert.show("Unable to upload file." + error.message);
private function fileRef_progress(evt:ProgressEvent):void
img.source = "";
progressBar.visible = true;
private function onUploadCompleteData (event : DataEvent) : void
var filePath:String = event.data;
img.source = filePath;
progressBar.visible = false;
txt_imgname.text = GetFileNameFromPath(filePath);
private function imageLoadListener(e:Event):void{
Alert.show(e.currentTarget.width);
private function GetFileNameFromPath(filepath:String):String
if(filepath == null || filepath == "")
return null;
var name:String = filepath.substring(filepath.lastIndexOf("/") + 1, filepath.length);
return name;Read this older post
http://forums.adobe.com/message/1900768#1900768 -
Hi everybody,
I'm quite a newbie using AS3 and as first pretentious learning project I'm creating a image multigallery.
At this moment I have two questions (between several future others) relative to the code I'm writing (and suffering):
How to correctly set the buttonMode in a dinamically created buttons?
and
How to get the width of the images that I'm dinamically loading? I'm planning to put them side by side, for this I need to know the width of each one.
In the thread title I wrote that it can be just one doubt despite the totally different purposes of the codes. Maybe.
Let me explain why: until now I could not understand completely the right way to direct the events inside dinamic functions.
Here's my code until now:
//// CREATE CONTAINERS ////
// CREATE MENU CONTAINER //
var menuContainer:MovieClip = new MovieClip();
menuContainer.x=10;
menuContainer.y=300;
addChild(menuContainer);
// CREATE IMAGES CONTAINER //
var imagesContainer:MovieClip = new MovieClip();
imagesContainer.x=100;
imagesContainer.y=10;
addChild(imagesContainer);
// IMAGE LOADERS //
var imagesLoader:Loader;
var bigImagesLoader:Loader;
//// LOAD XML ////
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, whenLoaded);
xmlLoader.load(new URLRequest("XML/roiaXML.xml"));
var xml:XML;
function whenLoaded(evt:Event):void {
xml=new XML(evt.target.data);
var mySetsList:XMLList=xml.children();
//// MENU BUTTONS ////
// POSITIONING BUTTONS INSIDE MENU CONTAINER//
var rowsQuantity:Number=3;
var columnsQuantity:Number=Math.ceil(mySetsList.length()/rowsQuantity);
var cellWidth:Number=160;
// CREATE BUTTONS //
for (var i:int=0; i< mySetsList.length(); i++) {
var newSetButtonMC:setButtonMC=new setButtonMC();
var imageNodesArray:Array = new Array();
for (var j:int=0; j<mySetsList[i].IMAGE.length(); j++) {
imageNodesArray.push(mySetsList[i].IMAGE[j].attribute("smallURL"));
newSetButtonMC.imageArray=imageNodesArray;
newSetButtonMC.setButtonText.text=mySetsList.attribute("setTitle")[i];
newSetButtonMC.setButtonText.autoSize=TextFieldAutoSize.LEFT;
var cellX:Number=Math.floor(i/rowsQuantity);
var cellY:Number=i%rowsQuantity;
newSetButtonMC.x=cellX*cellWidth;
newSetButtonMC.y=cellY*(newSetButtonMC.height+10);
// I really don't know how to set the newSetButtonMC.buttonMode = true, nothing worked until now
newSetButtonMC.addEventListener(MouseEvent.CLICK, onClickButton);
menuContainer.addChild(newSetButtonMC);
//// MENU BUTTONS ACTIONS ////
function onClickButton(mevt:MouseEvent):void {
// LOAD GALLERY IMAGES //
var targetButton:setButtonMC=setButtonMC(mevt.currentTarget);
for (i=0; i<targetButton.imageArray.length; i++) {
imagesLoader = new Loader();
imagesLoader.load(new URLRequest (targetButton.imageArray[i]));
imagesLoader.addEventListener(Event.INIT, getImageWidth);
imagesLoader.x=i*200;
imagesContainer.addChild(imagesLoader);
// LOAD BIG IMAGE WHEN CLICK IMAGE FROM GALERRY //
imagesLoader.addEventListener(MouseEvent.CLICK, loadBigImage);
function getImageWidth(evtImageWidth:Event):void {// FUNCTION TO GET IMAGE WIDTH //
// I really don't know what to do here, i've tryed a lot
trace(evtImageWidth.target.width);
trace("ok");
function loadBigImage(event:MouseEvent):void {
trace("ok");
I've tryed (and searched for solutions) a lot, maybe someone can help me.
Thanks everybody . AbstratoSomething new happened in my life, and it's called "contentLoaderInfo".
<--- real happiness
With this:
imagesLoader.contentLoaderInfo.addEventListener(Event.INIT, getImageWidth);
plus this:
function getImageWidth(evt:Event):void {
trace(evt.target.width);
I was close to reach the supreme nirvana and I could trace the images widths.
But there is a problem: i don't know what to do with the values to load each image side by side.
Does someone know?
Thanks . Abstrato -
Adjust image width and position along with browser size automatically.
Hi, I'm trying to place an image at the left edge of browser window, and the image width is 50% of the browser window size. The similar effect can be found on this website. Lenzing Instruments
Notice that as the browser zoom out, the image remains half of the width of browser window and align with the right edge of the browser.
I'm new to Muse. Not sure if it is possible to achieve this effect in Muse. I know Muse can set image 100% width of browser window, but how about 50%, 75% and other user defined proportion?
Any help will be appreciated!Thank you for your reply Sanjit. Could you explain more in details about
Exact responsiveness cannot be achieved but yes with scroll and pin you can create a similar effect
I also followed this post Can you create responsive sites with Adobe Muse? It seems that Muse does not support responsive design very well. So I'm not sure how exactly to get an similar responsive design effect in Muse.
Thanks!
Yinze
Design Engineer
Lawson Hemphill Inc. -
Controlling image width in XML brought into TextField via RSS
Hello. First off, let me say that I am new to these forums,
and new to AS 3.0
Here's my question.
I'm building an RSS Reader. Everything is working great,
except I can't figure out how to control the size of images
embedded in the XML of the blog posts.
I attempted to set up a textField with an attached css
stylesheet to limit image widths, but I couldn't get that to
function. Should I try saving the remote XML to my server via PHP,
and then adding my desired maximum width to every <img> tag?
That seems like a lot of work for a simple task.
Ideally, I'm dreaming of a textField or TextArea or
ScrollPane property that would force contents to obey the
container's width. Can you tell I usually write css?
Thanks in advance for any advice.Assuming that html is valid xml, and it apparently is if you
are working with it successfully, you would access that value like
this:
description.img.(@src)
A labelFunction would make it easy to display that string.
I haven't worked much with in-line renderers so ai am not
sure you you would do it in there.
Tracy -
I have recently acquired a Zeiss Photoscope (in effect, a spotting scope with an integrated camera) which records raw images as either JPG or DNG files or both. (I'm a birdwatcher who likes to take photos of them, not a photographer first and foremost). When I view the images in iPhoto 9.2, the highest quality JPG files are far superior to the DNG files, even though the JPGs are about 2 MB while the DNGs are 14 MB. The DNGs are obviously pixellated even at low ISO settings (50 or 100), while the JPG images appear sharp and show pixellation only when blown up digitally in iPhoto.
In some cases, I see evidence of chromatic aberration in the DNG images that is less evident in the JPG files, too.
Is there something about the way DNG files work with iPhoto that causes this? Is there recommended software for looking at DNG files that might eliminate the problem? Any other ideas about how to resolve this?Even as an ardent Mac fanatic since 1984, I have to tell you that iPhoto is an unmitigated piece of cr@p when it comes to image quality, though it has certain hand-holding features that make it very attractive to photo amateurs.
The raw conversion, whether from a straight raw file or from a raw DNG file, will be far superior if you view them after converting/rendering them in Adobe software, either Lightroom or Adobe Camera Raw. The latter, a free plug-in, can be hosted either by the (very expensive) full version of Photoshop, or by the relatively inexpensive ($99.99) Photoshop Elements, although when hosted by Photoshop Elements it only offers a subset of the controls, adjustments and functionality of the very same plug-in when hosted by the full version of Photoshop.
https://store1.adobe.com/cfusion/store/html/index.cfm?event=displayProduct&categoryOID=746 5793&store=OLS-US -
http://pyroblue.dyndns.org:8080/flexapps/BhgPhotoContest/bin/BhgPhotoContest.html
if you view that page, you can see there is a lot of
whitespace underneath the image...im just setting the image width
(similar to what you do with HTML)...but for some reason, Flex puts
a bunch of whitespace (the original height's worth) at the bottom
of the image....
my mxml file looks like this:
<mx:HTTPService id="contestListing" url="photocontest.xml"
result="pcDataHandler(event)" fault="faultHandler(event)"/>
−
<mx:Repeater dataProvider="{photoContests}"
id="pcRepeater">
−
<mx:VBox>
<mx:Label
text="{photoContests.getItemAt(pcRepeater.currentIndex).pcName}"
fontSize="14" fontWeight="bold"/>
−
<mx:HBox>
<mx:Image
source="{photoContests.getItemAt(pcRepeater.currentIndex).prevPhoto}"
maxWidth="75" maintainAspectRatio="true"/>
<mx:Text
text="{photoContests.getItemAt(pcRepeater.currentIndex).desc}"
width="400" fontSize="10"/>
</mx:HBox>
</mx:VBox>
</mx:Repeater>
</mx:VBox>
any ideas?Let's say your image is 300x300 pixels. You want to place it
into an area that is 100x200 and an area that's 500x200, centered
in both:
<mx:Image id="img1"
width="100" height="200" source="{imagefile}"
scaleContent="true" maintainAspectRatio="true"
horizontalAlign="center" verticalAlign="middle" />
<mx:Image id="img2"
width="500" height="200" source="{imagefile}"
scaleContent="true" maintainAspectRatio="true"
horizontalAlign="center" verticalAlign="middle" />
For img1, the smallest dimension is 100 (width) which it
matches to the real image's maximum dimension which is 300. That
means img1 will display an image 100x100 centered vertically with
50 pixels above and below.
For img2, the smallest dimension is 200 (height) which it
matches to the real image's maxium dimension which is 300. That
means img2 will display an image 200x200 centered horizontally with
150 pixels to the left and right.
The Image tag has 2 dimensions: img.width and img.height is
the area it occupies on the display. img.contentWidth and
img.contentHeight is area the pixels occupy. For img1, contentWidth
and contentHeight are 100, for example. -
How can I get the image width and height stored in database?
Hi!I write s servlet to display images store in database.but how can I get the image width and height?
Have you tryed using PJA or a similar library?
I presume you get java.lang.NoClassDefFoundError on the line :
Toolkit.getDefaultToolkit();? -
[CS2]How to get the Image Width & Height using JS (ILLUSTRATOR CS2)
Hi,
How to get the Image width & height of an Image using javascript .Im using Illustrator CS2.
Any sample code
Regards
MyRiazyou can reference the dimensions of a loading image (or swf)
by referencing the target movieclip's dimensions AFTER loading is
complete. ie, use preloader code or the onLoadInit() method of a
moviecliploader listener. -
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 -
Why are DNG images saved at 240ppi?
I'm just learning to shoot in RAW. The first big problem I'm encountering is that after I manipulate my RAW image and want to save it as a DNG image, it gets saved at 240 ppi (and not at 300 ppi). How can I tell PE 6.o to save at 300 ppi?
It does not matter at what PPI the picture is saved. It could be saved at
none (defaults to 72). The pixels that are saved are important. PPI only
comes into play when printing.
Juergen -
I cannot send dng images with the Adobe emailer?
I am unable to send my dng images as email attachments using the Adobe emailer. I get a message telling me that dng images cannot be converted? What do I need to do to send them using the Adobe email?
Thank you.
DwightYou need to contact your ISP and find out what you need to use as your out going email server SMTP Server is. Is should be the same as the one you use on your email on your PC (Windoze or Mac). if you are using gMail they have a guide for setting up your email on a email client.
-
Hello!
I have an Image within a Canvas.
Both of them have width set to 100%:
- the Canvas has that so that it will stretch as much as it's own containter allows it.
- the Image has both width and height set to 100% so that images larger than the Canvas are resized, otherwise a huge image is displayed and scroll bars for the Canvas.
My question is, how can I get the Image width and height, not the container's but the real width and height of the displayed image? I need this because the Image container will always be as large as the Canvas.
The idea is to superposition a canvas with text with the same width as the image, not the Image container, the image itself.
Thank you!Not entirely what I wanted though now that I look more closely.
It gives me the W and H of the image, not the resized image.
The image is 1024x768 (for example) but resized to fit into a container... I wanted the size of the content displayed, not the size of the content loaded. -
When I open my .dng images, they appear fine in Camera Raw Plug-in, however once I click Open Image, my image turns bluish in Photoshop
I downloaded a sample DNG image from the net to test and here is what I see
This is how the image appears in Camera Raw
This is how it appears after I click open imagemanchora1617 wrote:
Undo that? Why?
I changed it back to the default Adobe RGB and now again my images appear blue
I dont know whats going on
I feel for you!
You should leave your Photoshop working space as AdobeRGB. Your workspace is totally separate to your display profile, and only determines which colours you can work with in your images, and potentially save in a finished file.
Your display profile determines how known colours finally appear on your screen. Your calibrator instructs you to get the best picture possible on your monitor, and then generates a display profile so that your CM-aware applications know how to display colours correctly. It seems, in this case, that it got it wrong.
This is why I suggested using sRGB or the manufacturer's profile. It may not be perfect, but it could prove that your handmade profile is way off. If your monitor is a new-ish wide-gamut variety, the sRGB profile will produce over-vivid results as a display profile, so the manufacturer's own (if available) would be the best starting point. -
DNG editor refuses to open any DNG image
I 'm trying to use DNG editor b1 win 072808 under Vista, with DNG images generated with Adobe DNG converter 4.5.0.175, from Canon and Olympus raw files. None are accepted by DNG editor : "DNG editor could not open the selected image". Sorry for this basic problem, but I can't go further to explorate the promising features of the Editor...
Thanks in advance.
JohnYes, your hint works - I put a DNG image in C:\Windows\temp and the Profile editor opened it.
I do appreciate to have an answer from you in person on a Saturday morning...
Thanks a lot for this and all your brillant work.
John
Maybe you are looking for
-
Computer Ejects iPod When iTunes starts up
Please help!!! I have read every forum and tried zillions of things to get things working without any joy. When I connect my iPod it shows up in my computer, but then as soon as itunes opens (and it does so automatically) the computer ejects the ipod
-
HP LaserJet Professional M1217 nfw MFP
Buonasera vorrei sapere come posso usare la stampante in oggetto con ePrint considerato che ha WiFi. Non riesco ha trovare il suo indirizzo mail. Ho già un account e vorrei aggiungere alla stampante All on one gia funzionante con eprint anche quell
-
Cannot see my attached doc in file attachment list
Hi all, I used the code below to attach a doc to a pernr. After attaching a PDF document to pernr 00070845, I goto transaction PA20/PA30 to see the attachment list. However, I cannot manage to see the doc in the attachment list. Idoublle check that t
-
Is this the right product for me?
Hi All Just considering Contribute and was wondering if this is the right product for my needs. I've built a web site and need to add a retrofit CMS type function to some pages. There's news, products and general page editing. I can see News being st
-
Library Snippets and your approach to use on a page
Hello, More of a philosophical question today. Recently I started using Qtip for my hover bubbles (or whatever they're called ) and I needed to add a couple of links: <script src="http://code.jquery.com/jquery-1.3.2.min.js"></script> <script type="te