[JS][CS3] Scaling TIFFs

Hi,
I need either a solution or someone's pointing me in a right direction...
I have to scale a TIFF file in Ai, so that one of the dimensions occupies a specified value, preserving aspect ratio.
I think that matrix transformation serves that purpose, but I really have not a slightest idea how to do that.
Alternatively, I could get away with knowing the TIFFs dimensions - if there is a quick way to obtain them - preferrably without long-lasting opening it (somewhere from headers?).
Please shed light on which way to go.
Regards.

> While this is good to know such a tool exists, my concern is to depend on Adobe components only.
You need realize that this is probably an unreasonable approach.
exiftool is the best tool available on the web for working with metadata. If
Adobe didn't have such a poor interface for adding new classes to the JS
runtime, I would have figured out a way to add the exiftool libraries to Adobe's
JS interpreter(s).
There are things you can do in one line of code with exiftool that would take
100s of lines of code in Bridge/JS or PS/JS. Not using exiftool when it is the
appropriate tool will make your code unnecessarily complex.

Similar Messages

  • CS3 bridge: Tiff thumbnails overexposed...Why?

    I'm working on a PC and I just upgraded to CS3 from CS2. In Bridge, when I save my files from RAW to Tiff, the Tiff thumbnails are all overexposed. All the Raw thumbnails are properly exposed according to the settings in Camera Raw. When I first save the tiff file, the thumbnail has the correct exposure settings, but then instantly changes to an overexposed setting. This happens to all the Tiff thumbnails and also to the large preview image, but not to the RAW thumbnails or preview images. When I open the Tiff file, the settings are correct.
    I have a feeling it has something to do with the thumbnail preview settings in "preferences". Can someone help me please? I'm sure it's something simple.
    Thanks...

    That option that you changed is not one for viewing JPEG and TIFF images in ACR, but for editing them in ACR. I have it checked on my system, and I have all my thumbnails. Problem is that Bridge seems to behave differently on different computers. It seems to me that there are more problems with the PC than the Mac. I have an older PC that is slow by today's standards so I just kind of limp along with Bridge. Yes, you can use other browsers. I have used Faststone, but although it is faster, all of the features are not there. I surely hope Adobe comes up with a better solution. There certainly won't be one in CS3, but maybe it will be one of the motivating factors to get people to move to CS4. It's doubtful (in my opinion) that we will see an improvement in this version.

  • Premiere Pro CS3 - Scaling Issue 720p

    Hello,
    I'm working with HDV1080p footage in an HDV720p project. I'm experiencing a flashing edge in my Program window when playing back footage in a sequence. The 1080p footage has been placed in the sequence without any scaling, or "Scale To Frame Size" applied. There is a flashing, jittering edge that appears on the right-hand side of the frame during playback.
    The same flashing, jittering block of video on the right edge of the frame also appears in exported video.
    Any help fixing this will be greatly appreciated,
    Thank-you,
    Andrew

    hi,
    I'm new at using premier pro cs3 ( 3 weeks about )...  so I'm no expert.
    I'm curious if you know about a program called GSpot, which lets you get information about a source file or exported file...gives a lot of information about the specific nature of the video and audio.  If you do a "screen capture" of the GSpot program with your source file, you can upload that screenshot here (should be 450 pixels or less in width to upload here ) and people would know what kind of file you are dealing with.
    I have a sample 1080p file that was already converted to a MOV from RAW original, which I loaded into Premiere project of HD 720x480, and it looked good, previewed well (though cropped a lot, it was centered in the project monitor).  Then I exported as a Quicktime (using H 264) and although the clip lost a lot of quality it exported OK and looks fair.
    You might upload more specifics about what your source is and what you want to export as, and I'm sure people here can help.
    Rod

  • CS3 - scaling image

    I've created a rectangle and placed an image in there.
    How can I set the scaling en X/Y values of the image.

    I don't think it's the script.
    What InDesign is doing is showing you a Gray Out view of the image.
    This is done by ID to speed up rendering. Also, there are two other preview options for imported pictures in InDesign: Proxy (low res) and High Resolution.
    Open InDesign but don't open any documents. This will save the preferences for all newly opened documents from now on.
    Then under InDesign > Preferences > Display Performance, you will see the options for the image previews. At the top, there's the default view that you can choose for all newly imported images and below you choose the properties of the preset views incase you want to change them while the document is open.
    Also, you can change the view setting of any image on the fly by right- or Ctrl-clicking on the image and selecting Display Performance and choosing one of the presets.

  • TIFF troubles with Lightroom

    LR 1.3.1 Win XP, CS3
    When CS3 saves TIFF images exported from LR that have layers, they are saved with:
    ZIP Image compression
    Per Channel Pixel Order
    ZIP Layer Compression.
    The Per Channel Pixel Order (RRGGBB) means than most other applications can't read the file.
    The TIFF files need to be saved with Interleaved Pixel Order (RGBRGB).
    The problem doesn't occur with TIFFs exported by LR when no layers are added in PS. It never happens when TIFF files are created by any other application than LR.
    Lightroom is doing something that causes the problem. What can be done to correct the problem.
    Wil

    Mackenzie Legler wrote:
    ...I pick the pics and it says that it is unable "Could not copy file to requested location"....
    Thanks
    I think that's your hint. There is something wrong with the location you're trying to copy to, perhaps a lack of authorization.What happens if you copy the images to your desired location and then import to LR, telling the program that you want to leave the images where they are?
    You didn't say what version of Lightroom you're using, nor what operating system it's running under, and those pieces of information might help somebody help you.
    Hal

  • Why can't I open my jpg?

    So I have CS3 still on my Macbook Pro. I just bought a new Macbook Pro and after loading the CS3 on there it is giving me trouble opening jpg files that I created in Photoshop on the other laptop. It keeps giving me a pop up below any time I try to open the file. If anyone knows how to fix this issue please let me know. I am in desperate need to have this fixed ASAP as I am using Photoshop on a Freelance project right now.

    Check your file handling Preferences in CS3. Make them identical to CC 2014.
    These are my jpeg save settings. Or you can try Save for Web.
    Thirdly, you can convert those jpegs in CS3 to tiffs. There's even a batch converter in Photoshop for that.
    File > Scripts > Image Processor.   Place all the jpegs in one folder and have the Image processor output them as tiffs in another folder.
    Bring the tiff folder over to your new mac and Batch convert them back to jpegs in CC 2014's Image Processor.

  • Making small edits to a DNG in Photoshop

    Hey there, I have a very simple question!
    •Is it possible to edit a DNG file (using Lightroom's "edit in" option) in Photoshop CS3 while still keeping all of the image data intact?
    e.g. I go to edit a DNG file.. right click image>edit in>CS3.   TIFF / 16-bit / ProPhoto RGB file handling options. I do whatever it is that I need to do in CS3 cloning and blurring and save the file which then creates a copy in Lightroom. When I edit this copy in Lightroom it doesn't hold all of the information it use to..meaning there's nothing that can be brought out in deep shadow or blown out highlights; whereas if I was working with the DNG/RAW file I could just under or overexpose and there would be something to work with.
    I hope this is clear! Thanks,
    -jope

    This is to be expected. RAW files usually have some headroom left over above white since usually not all three channels are completely blown out and you can still recover some info from them and reconstruct blown out areas, which is what Lightroom does with the RAW file. On the shadows side, there is usually a lot of info hiding that you can bring out by several methods such as exposure compensation, Fill light, lowering the blacks, etc.. Rendered files such as tiff however, do not have this headroom. White is white, and black is black. Nothing you can do when a pixel is all black or all white. So as soon as you bring your file into Photoshop, you are stuck with the rendering you had. Sometimes you can get around this by using smart objects in Photoshop, but not all operations (such as cloning and healing indeed!) can be done on smart objects.

  • Creating a grayscale picture

    Hello!
    I have such an array:int[][] testArray = new int[heightOfImage][widthOfImage];The array is filled with numbers from 0..255. How could I create a gray scaled tiff image with JAI?
    I found this line, but how could I set the imageVariable from my testArray and how could I set it it that it will be grayscaled?
    JAI.create("filestore", imageVariable, "myNewTiff.tiff", "TIFF");Does anyone know?
    Thanks a lot in advance & Best Regards.

    PHANTOMIAS wrote:
    ..The array is filled with numbers from 0..255. How could I create a gray scaled Convert it to grayscale before doing anything else. E.G.
    import java.awt.*;
    import java.awt.image.*;
    import javax.swing.*;
    import javax.imageio.*;
    import java.net.URL;
    class ToGrayscale {
        public static void main(String[] args) throws Exception {
            URL url = new URL("http://pscode.org/media/stromlo1.jpg");
            Image image = ImageIO.read(url);
            BufferedImage bi = new BufferedImage(
                image.getWidth(null),
                image.getHeight(null),
                BufferedImage.TYPE_BYTE_GRAY);
            Graphics g = bi.createGraphics();
            g.drawImage( image, 0, 0, null );
            JPanel p = new JPanel(new GridLayout(0,1));
            p.add( new JLabel(new ImageIcon(image)) );
            p.add( new JLabel(new ImageIcon(bi)) );
            JOptionPane.showMessageDialog(null, p);
    ..tiff image with JAI?
    I found this line, but how could I set the imageVariable from my testArray and how could I set it it that it will be grayscaled?
    JAI.create("filestore", imageVariable, "myNewTiff.tiff", "TIFF");Does anyone know?<DWS>Of course not. You are the first person in the history of computing to consider such an idea - you maverick.</DWS>

  • Compatibility between LR 1.3, ACR 4.3, PScs3, & Bridge CS3 to read metadata in psd or tiff files

    I would like Bridge, ACR, and PS to be able to read the metadata of pds/tiff files that are "developed" in LR when the metadata has been saved to the file inside of LR. Currently BridgeCS3, ACR 4.3, and PS CS3 don't see these changes.
    The only way around this that I have found is to export or edit in PS option - both of which give you a new file. I don't want a new file - I want the original file (psd tiff) that was imported into LR to have the ability to be updated with the changes made in LR.
    I have found that when you export the psd from LR it essentially flatens the image so you will no longer have access to any layers done in PS. Depending on how many edits you perform, whether they are done LR or PS, and the order in which you do them in directly impacts the amount of edit files you will end up with for the same photo. Your edit information then becomes scattered amongst all the different files instead of having one central file as a repository for the edits so you can backtrack if you need to (like through layers in PS and the history panel in LR).
    I really like the LR interface and being able to drag with the different tools directly on the photo to edit. I just would like those changes to be reflected (once metadata is saved) amongst the other programs as well.

    I have tried saving XML files with Tiffs and the only way I have been able to get Bridge to see the metadata changes from LR's develop module is to export the file to PS or Bridge. On export the file becomes flattened so you do not have the access to any previous layers made in PS. Also once exported from LR, you are unable to see the files history log (LR) as to the changes made in LR that had been previously written to the metadata. And of course the flattened PS element so you have no way to back track in edits if you chose to do so.

  • Photoshop CS6 can't/won't open TIFF file created in photoshop CS3

    Earlier this year, I was still using CS3. I created a bunch of original TIFF files, and modified files which had been created in CS1. When I am having to go back and reference these CS3 TIFFs, some of them are giving me an error message and refusing to open. Evidently, they are not compatible with CS6?! Seriously?!
    I have since uninstalled CS3, but the box is sitting on the shelf if I need it (which I am hoping I don't). Any suggestions for a workaround - preferably one which will not destroy my layers.
    Thanks!

    Well, carp. Just like when you take your car in to the mechanic: I can't find any of the offending TIFF files. Not surprising considering that I have just north of 1,000 on my drive. Yikes.
    For the record, the error message basically just said that the file I was trying to open was incompatibile with this version of Photoshop. And just now I successfully opened a file from April 2005, originally created in CS, and it is completely intact. My novice-ness shows through , but it's perfectly intact.
    Sorry to bother to Board; I'll come back when (if?) the message comes back.
    Thanks.

  • CS3-I save file as Tiff, I get a blank icon

    Hi everybody
    I am running PSP CS3 on an iMac with Snow Leopard.
    Today I had a surprise:
    -I opened and worked on a file previously saved as Tiff
    -After I finished I closed and saved the file again as Tiff
    -in the folder I then found a blank icon instead of the usual preview icon
    Waht happened and, more important, how can I solve this?
    Thanks
    Fab

    Apple's preview and other image reading code still doesn't understand TIFF files with alpha channels or transparency correctly.
    I think I filed that bug with Apple about 2 years ago....

  • Can't export to TIFF or JPG in CS3

    I'm working on a project and trying to export a 8.5 x 11 image out of CS3 to a JPG or TIFF. It keeps telling me one of two errors, first that the image size exceeds the limit for rasterization OR error memory insufficent to complete. I am working on a PC with 3 GIG of RAM, and Vista. Any advice? Seems like it should be able to work!

    cos,
    A statement of resolution will help the helpers.

  • Photoshop CS3 vs CS2 32 bit floating point tiff loading

    Hi,
    The application I'm developing exports 3 channel 32 bit floating point tiff's.
    The exported files could have been loaded into PS CS2, but PS CS3 can't load them anymore, all I get is a message box with this message:
    "Could not complete your request because of a problem parsing the TIFF file."
    I've uploaded the file here, so you guys can have a look at: www.thepixelmachine.com/dispmap.tiff

    Where should I've posted this thread instead? I suppose people here write plugins by programming them (right?), so they suppose to be programmers, not regular PS users. I thought a programmer would be much more familiar with programming related issues, such as tiff file saving c++ routines. Correct me if I'm wrong.
    The people who tested the file have Photoshop CS3 and didn't manage to open it, they even sent me screenshots with the error message box. In CS2 however, the file loads perfectly. Also, the single strip version opened just fine in CS3.
    You may close this thread, the problem was solved and more than that it looks like I haven't posted it in the right forum.
    Thanks.

  • Bridge CS3 Previews/Slideshow Scaling Too Slow on Powerbook G4 15"

    I've been using Photoshop CS3 itself for months and it's plenty fast. Bridge, on the other hand, is unusable for me right now because when I click an 6-megapixel jpeg image, a fuzzy/blotchy preview showed immediately, but it takes a full seven seconds for a high-quality preview to show. The exact same thing occurs in the slideshow mode. Of course, once the high-quality preview has been cached, it shows up instantly, but this is a real issue for newly-viewed files.
    Is this a known issue? If so, is there a way to make the high-quality preview reasonably fast, so that there's only a delay of a second or two max?
    Graphic Converter is quite snappy for previews and full-screen slideshows on this ~1.6 Ghz G4, but I would prefer to use Bridge for its advanced organizing features and integration with Photoshop.
    Thank you for your help,
    Cameron

    &gt;It makes no difference whether your files originated as 10- or 12-megapixel digital camera files or as 120 MB 16-bit Tiff scans, 4,000 images are still 4,000 images!
    <br />
    <br />Actually, no. How files originate makes
    <br />b all
    <br /> the difference!
    <br />
    <br />E.g. a film scan is by definition very slow, so processing, sorting, culling, stacking all occur prior to a few hero images being selected for scanning. Those activities occur manually rather than in software.
    <br />
    <br />Similarly - again with no disrespect intended - your 4000 images captured over weeks on a slow digicam with a film-centric mindset are
    <br />b nothing
    <br /> like capturing hundreds or thousands of shots, many of
    <br />i dynamic subjects,
    <br />during intense DSLR RAW shooting of a day or two.
    <br />
    <br />E.g. the other day I was alone (meaning no helper to control the feisty new pup) walking my new lab puppy during failing light and decided to shoot a pic for emailing to friends. I would run away from the puppy, turn around and shoot continuous high speed autofocus pix of Ruby as she ran toward me. Even though Ruby can run almost as fast as I can, in 5 minutes of failing light I had shot 50-100 12 MP RAW images that then needed to be keyworded, stacked, stacks reviewed for ranking and culls, and an email generated.
    <br />
    <br />
    <a href="http://www.pixentral.com/show.php?picture=1ybNMDLvrZ84DrWBMZ0a5QE8fKUkY" /></a>
    <img alt="Picture hosted by Pixentral" src="http://www.pixentral.com/hosted/1ybNMDLvrZ84DrWBMZ0a5QE8fKUkY_thumb.jpg" border="0" />
    <br />Nikon D2x, f/4, 85mm.
    <br />
    <br />The whole process was easy and fast. With a low end point-and-shoot in failing light I would not have had 50 properly exposed, properly focused naturally lit pix that needed close comparative evaluation. At best one would end up with one or two focused keepers; no fancy software necessary to cull a dozen out-of-focus pix.
    <br />
    <br />My point is simply that folks who are evolving into DSLR workflows, especially those of dynamic subjects like people (with constantly changing expressions that are well suited to shooting stacks of quick image captures), should beef up their hardware, buy the Aperture tutorial/CD, download the Aperture and/or LR trials and check out a modern workflow.

  • Tiff won't open in CS3

    Photoshop CS3 (Windows) crashes when I open one particular Tiff.  Two others created by the same person/system open just fine.  Help?

    Someone very knowledgable about TIFF would have to look at the structure of the file.
    It also helps if that someone has access to the Photoshop source code, like I do.

Maybe you are looking for