• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

esportare in jpeg

New Here ,
Dec 14, 2017 Dec 14, 2017

Copy link to clipboard

Copied

ciao, ho aperto un nuovo foglio di lavoro in 18x24 e vorrei esportare il disegno in jpeg ma in più formati ma nelle opzioni non ho trovato nulla riguardo al ridimensionamento.

vorrei sapere qual'è la dimensione migliore con la quale iniziare per poi esportare correttamente negli altri formati. grazie

TOPICS
Scripting

Views

410

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Contributor ,
Dec 14, 2017 Dec 14, 2017

Copy link to clipboard

Copied

Hi, bnbbb.

ExportOptionsJPEG has properties "horizonalScale" and " verticalScale". Is this related?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 15, 2017 Dec 15, 2017

Copy link to clipboard

Copied

hi, not that. i want to create a file that can be exported in different sizes. i need to print the design in various scales. is that possible?

thank you.

(my english is not that good sorry)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 15, 2017 Dec 15, 2017

Copy link to clipboard

Copied

No worries. I'm sorry for my poor English, too. You can use the following script to create files of different sizes. Please customize it and use it.

For example:

(function () {

    var scales = [

            {

                horizontalScale: 100,

                verticalScale: 100

            },

            {

                horizontalScale: 50,

                verticalScale: 50

            }

        ],

        i,

        max;

   

    function exportFileToJPEG(scale) {

        var exportOptions = new ExportOptionsJPEG(),

            exportFile = new File(Folder.desktop.fsName + "/" + scale.horizontalScale + "_" + scale.verticalScale + ".jpg"),

            exportFormat = ExportType.JPEG;

        exportOptions.horizontalScale = scale.horizontalScale;

        exportOptions.verticalScale = scale.verticalScale;

        exportOptions.artBoardClipping = true;

        app.activeDocument.exportFile(exportFile, exportFormat, exportOptions);

    }

   

    for (i = 0, max = scales.length; i < max; i += 1) {

        exportFileToJPEG(scales);

    }

   

}());

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 18, 2017 Dec 18, 2017

Copy link to clipboard

Copied

LATEST

For your information, this may be useful if the Illustrator's version is CC 2015.3 or later.

Please navigate menu:

File > Export > Export for Screens...

See also:

Adobe Illustrator’s Export for Screens Saves You Time - Big Time | Adobe Blog

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines