|
Post by drjoerogers on Oct 9, 2018 2:17:57 GMT
This is a spinoff of Sepiana's "All About Smart Objects", 11.28.i6, Tips and Tricks. Very easy to convert a 72 ppi image from the web to a 300ppi image without pixelation or loss of quality.
1. File>New> Blank File Name:Untitled width: 3600 pixels height: 3600 pixels resolution: 300 ppi color mode: RGB color background contents: transparent Image size: should read 37.1 M
Click OK.
2. File> Place Choose low resolution image. Click Place.
3. Image comes in as Smart Object. Expand size by dragging a corner to fill blank as much as possible. Click check.
4.Crop
5. Simplify layer and save as TIFF.
|
|
|
Post by Bailey on Oct 9, 2018 3:38:43 GMT
Hi drjoerogers, I feel we need to clarify step 2 here, especially for visitors new to image editing. ... 2. File> Place Choose low resolution image. Click Place. ... Resolution is defined as number of pixels per unit length (ppi = pixels per inch) and should not be confused (as far too many people do) with pixel count, which is simply the number of pixels in an image. Consequently, you can have an image 5000px x 5000px set at 72ppi and most people would incorrectly call that high resolution when in fact it is low res. because of the 72ppi setting. But it does have a relatively high pixel count.
If you change the setting to 300ppi, without resampling, then the image can correctly be called a high res image. PPI is used purely for setting print sizes and has no relevance whatsoever to images used solely for screen display. The only thing that matters for screen display is pixel dimension, length and width. A 72ppi image on the web can easily have pixel dimensions of 4000px x 4000px or any dimensions you like.
Obviously if someone opened a low resolution image 5000px x 5000px set at 72ppi (as per your instruction), it would not be appropriate for your tutorial given the image dimensions in step 1. So to remove any ambiguity from step 2, especially for newbies, I feel it would be more appropriate to say something like open an image much smaller in pixel dimensions than the one created in step 1. The ppi resolution of the image you open for this tutorial is totally irrelevant.
Please do not take this as criticism, but people unintentionally confusing resolution (ppi) with pixel count is one of my pet hates . Having said this, I recall Sepiana's thread you referred to and at the time I thought, great!! an easy way to enlarge images. But alas, in my experience it has limitations. I took an extreme case of a 100px x 100px image (an avatar) as a smart object and enlarged it to around 3000px x 3000px. The result was unacceptable, especially for printing.
As long as the "stretching" (step 3) is not too excessive you can get good results. I found this technique worked best for clipart type images. Imho and fwiw, I feel the instructions you provided would be even more educational to newbies if references to ppi were removed and replaced with references to the pixel count or pixel dimensions of images.
At the moment, I fear more newbies could confuse the concept of resolution (ppi) and pixel count and what their real uses actually are.
hth
|
|
|
Post by Bailey on Oct 9, 2018 10:27:45 GMT
For anyone that is interested I have written an editable script that executes the steps interactively in drjoerogers' tutorial. The script will - 1. Prompt the user for the width and height in pixels for the new document.
2. Create a new blank document with the dimensions from step 1.
3. Open a dialog box from which the user can navigate to and select a file to place on the new document. 4. Place the user selected file in step 3 as a smart object on a new layer on the new document From there the user can manually resize the smart object, crop the image plus do any other edits. Feel free to copy/paste and do whatever you like with it if you feel it might be of use to you.
do { //prompt the user for width of new document var width = prompt('** Creating a New Document **'+"\r\n"+'Enter the WIDTH in pixels',''); if(width === null){ break; }else{ width = parseInt(width,10); } } while(isNaN(width) === true || width < 1); if(width !== null){ do { //prompt the user for height of new document var height = prompt('** Creating a New Document **'+"\r\n"+'Enter the HEIGHT in pixels',''); if(height === null){ break; }else{ height = parseInt(height,10); } } while(isNaN(height) === true || height < 1); } if(width !== null && height !== null){ //user has entered valid width and height var newDoc = app.documents.add(width,height); //create a blank document of width x height app.activeDocument = newDoc; //make the new document the active document var file2Place = app.openDialog(); //prompt the user to open a file to place om newDoc //Place the selected file onto newDoc as a smart object var idPlc = charIDToTypeID( "Plc " ); var desc13 = new ActionDescriptor(); var idnull = charIDToTypeID( "null" ); desc13.putPath( idnull, file2Place[0] ); var idFTcs = charIDToTypeID( "FTcs" ); var idQCSt = charIDToTypeID( "QCSt" ); var idQcsa = charIDToTypeID( "Qcsa" ); desc13.putEnumerated( idFTcs, idQCSt, idQcsa ); var idOfst = charIDToTypeID( "Ofst" ); var desc14 = new ActionDescriptor(); var idHrzn = charIDToTypeID( "Hrzn" ); var idPxl = charIDToTypeID( "#Pxl" ); desc14.putUnitDouble( idHrzn, idPxl, 0.000000 ); var idVrtc = charIDToTypeID( "Vrtc" ); var idPxl = charIDToTypeID( "#Pxl" ); desc14.putUnitDouble( idVrtc, idPxl, -0.000000 ); var idOfst = charIDToTypeID( "Ofst" ); desc13.putObject( idOfst, idOfst, desc14 ); var idLnkd = charIDToTypeID( "Lnkd" ); desc13.putBoolean( idLnkd, true ); executeAction( idPlc, desc13, DialogModes.NO ); } alert("Script Complete");
|
|