Calvin21914323wi10
Participant
Calvin21914323wi10
Participant
Activity
‎Feb 20, 2025
12:21 AM
Appreciated for your help, is this a screen recording ? If yes, would you share the video with me ? Thanks
... View more
‎Feb 19, 2025
07:17 PM
Yes, make a gallery wrap PSD with smart object, then can put any image on it and save as this effect like attached image
... View more
‎Feb 19, 2025
07:03 PM
You mean it is a real wrapped painting and took a picture ?
... View more
‎Feb 19, 2025
04:38 PM
The attached image is one of mock up I like, I tried follow Youtube and other resources, but cannot make a one like this with perfect stereoscopic. Can anyone provide some hints or better resources that I can follow step by step to make a mock up file like attached photo ? Thank you
... View more
‎Nov 27, 2024
08:22 PM
My company have 12 laptops, all new, same OS and same Model, all same 2 of these computer's acrobat reader open a document (PDF FORM) which contain Chinese charaters but the fonts loaded incorrect, some words changed to other not default (capture 1) Others computers running normal, all fonts are same by default. I checked defualt fonts in registry, settings and nothing found. Any ideas what happened in these 2 computers? Capture 1 - ERROR Capture 2 - Normal
... View more
‎Aug 03, 2024
05:49 PM
I want to make some mockup of streched canvas for painting like the picture. I tried serach a lot, find some tutorial videos but all are self-promotion for their ready to use mockup, of course I can buy some ready-to-use, but I tried some, all the final effect looks un-natural (the edge is not morror images) or not the types I want (proportion, light). Any steps by steps guides (videos) that can teach me how to make this type mockup ?
... View more
‎Aug 11, 2023
05:30 PM
4 Upvotes
Attached 2 picture, the file is black backgroud, with a blend layer
1. Why the blend layer changed color to blue (pic 1 + pic 2)
2. I think the black backgroud make final effect too dark, then changed from black to deep blue, the applied blend layer, you can see original (black + blend) is very smooth gradient color. BUT my work (deep blue + blend) showing some lines (not smooth) (pic 2)
Why ? Please help
... View more
‎Jul 17, 2023
01:30 AM
1 Upvote
Thanks, will test them in differnt photos
... View more
‎Jul 17, 2023
01:24 AM
Thanks, almost match, personally feel is quite petty bourgeoisie feel.
... View more
‎Jul 16, 2023
08:30 PM
Thank you, tried, as folllowing - still missing something, right ?
... View more
‎Jul 16, 2023
06:42 PM
1 Upvote
I found some photos and like their color tone, soft, simple and relax as fllowing images How I can make a color tone like these photos ? I don't want use match color function to copy, just want make my own color tone with petty bourgeoisie feel. Thanks
... View more
‎Jul 15, 2023
12:09 AM
1 Upvote
Bingo, works accurately, appreciated for your help
... View more
‎Jul 14, 2023
09:49 PM
1 Upvote
Thank you so much, will test and post result.
... View more
‎Jul 14, 2023
09:40 PM
1 Upvote
I am still a bit lost, here is an example, attached 3 file original, crop_tool, script_crop Original is 800*1214, best fit ration is 2:3 which should be 800*1200 Crop Tool crop it 800*1200 - exact value script_crop crop it to 800*1193 - ? ? your calcuation is correct but my added code have problem - I think the mistake is in following var bounds = [0,0,targetW,targetH]
app.activeDocument.crop(bounds); I don't know how to set bounds - I think How to crop in the centre of image ? any hints ?
... View more
‎Jul 14, 2023
08:42 PM
1 Upvote
Thanks to @c.pfaffenbichler teach me how to detact best fit ration for various images, however, photoshop scripts looks do no support crop with ratio app.activeDocument.crop from Abobe official guide - crop (bounds, [, angle], [, width], [, height]) means it only support crop in pixels dimention (not accurate), any methods to crop in ratio same as we use crop tools ?
... View more
‎Jul 12, 2023
11:30 PM
Thank you very much, it works and much better
... View more
‎Jul 12, 2023
05:12 PM
1 Upvote
The code as following, but photoshop keep raide error on NEXT if (theW-targetW >10||theH-targetH>10){
alert(theW-targetW,theH-targetH);
NEXT
};
var bounds = [0,0,targetW, targetH]
app.activeDocument.crop(bounds); How should I bypass the corp action if meet the criteria ?
... View more
‎Jul 08, 2023
12:13 AM
Second one, works, thank ou very much
... View more
‎Jul 06, 2023
06:08 PM
1 Upvote
I have an image in folder in download\TEST, I want create a new sub-folder in test and save image to it var myDocument = activeDocument;
var f = new Folder(myDocument.path+theResult.join("X"))
if (!f.exists) {
f.create(); theResult.join("X") is a variable stored values from another function whitch is 2X3, above code created folder download\TEST2X3 instead download\TEST\2x3 (result I want) How to fix it ? thank you
... View more
‎Jun 28, 2023
04:12 PM
My display means display at 1-2 web sites only, so need JPG or PNG. Which tools you use to adjust text ? Is adjust in illustartor then paste to photoshop a good approach ?
... View more
‎Jun 28, 2023
03:36 PM
The need the image save as JPEG to upload as display, if open in PHOTOSHOP and add text, It is very hard to adjust the text width or alter some text shape (typography design). Any good idea ?
... View more
‎Jun 28, 2023
01:49 AM
1 Upvote
var bounds = [0,0,targetW, targetH] The first 2 parameter you can adjust to fit your need, I haven't digging more detail. You can try and share you results.
... View more
‎Jun 27, 2023
12:20 AM
1 Upvote
You are welcome, all credtits to @c.pfaffenbichler , he is a real kind expert !!
... View more
‎Jun 26, 2023
03:41 PM
2 Upvotes
Thanks to @c.pfaffenbichler , I added 2 lines only if (app.documents.length > 0) {
app.togglePalettes();
var originalRulerUnits = app.preferences.rulerUnits;
app.preferences.rulerUnits = Units.PIXELS;
var myDocument = activeDocument;
var theW = myDocument.width;
var theH = myDocument.height;
var theProportion = theW/theH;
var theProportions = [[1,3],[1,2],[2,3], [5,7], [3,4], [4,5], [1,1], [5,4], [4,3], [7,5], [3,2], [2,1], [3,1]];
var theResult = theProportions.sort(sortArrayByDifference)[0];
var thisProp = theResult[0]/theResult[1];
if (theProportion < thisProp) {
var targetW = theW;
var targetH = theW*theResult[1]/theResult[0];
}
else {
var targetW = theH*theResult[0]/theResult[1];
var targetH = theH;
};
var bounds = [0,0,targetW, targetH]
alert ("at the aspect ratio "+theResult.join("/")+" the image would be\n"+targetW+" x "+targetH);
app.activeDocument.crop(bounds);
app.preferences.rulerUnits = originalRulerUnits;
app.togglePalettes();
};
////// sort by difference to a number //////
function sortArrayByDifference(a,b) {
if (Math.abs((a[0]/a[1])-theProportion)<Math.abs((b[0]/b[1])-theProportion)) return -1;
if (Math.abs((a[0]/a[1])-theProportion)>Math.abs((b[0]/b[1])-theProportion)) return 1;
return 0;
};
... View more
‎Jun 25, 2023
04:16 PM
Thank you very much, it works I added app.activeDocument.crop......... and it works, thanks again
... View more
‎Jun 25, 2023
03:00 AM
Yes, I tried run in action, no crop, then I added my own crop function, still not work, maybe I am too stupid to code
... View more
‎Jun 25, 2023
02:09 AM
Thank you, but even the best one - Farey, still not give out a exact ratio e.g.File 4 - best fit is 1:2, but it gave 13:25 very accurate but not a POPULAR RATIO (SELLERABLE PRINT SIZE RATIO), I hope you understand what I want to say. Now I am trying use excel find my algorithm, but found many weird ratio in my collection, scratching my head and try to do more market research
... View more
‎Jun 24, 2023
04:12 AM
Response, I mean. I ran it but nothing happened at all
... View more
‎Jun 24, 2023
12:09 AM
Tested, I don't know why just no respose at all
... View more
‎Jun 24, 2023
12:05 AM
Tested, it can detect and show information but not crop the image
... View more