Importing SVG crashes

All closed bug reports are moved here.

Post » Sat Apr 01, 2017 11:12 pm

Steps to reproduce
1) add a Sprite
2) try to import an SVG file

Error report information
Type: unhandled rejection
Reason: InvalidStateError: The source image cannot be decoded.
Construct 3 version: r14
URL: https://editor.construct.net/
Date: Sat Apr 01 2017 16:09:09 GMT-0700 (PDT)
Uptime: 335.8 s

Platform information
Browser: Chrome
Browser version: 57.0.2987.133
Browser engine: Blink
Browser architecture: (unknown)
Context: browser
Operating system: Mac OS X
Operating system version: 10.10_5
Operating system architecture: (unknown)
Device type: desktop
Device pixel ratio: 1
Logical CPU cores: 4
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

WebGL information
Version string: WebGL 1.0 (OpenGL ES 2.0 Chromium)
Numeric version: 1
Supports NPOT textures: partial
Vendor: ATI Technologies Inc.
Renderer: ATI Radeon HD 2600 OpenGL Engine
Major performance caveat: no
Maximum texture size: 8192
Point size range: 1 to 2048
Extensions: ANGLE_instanced_arrays, EXT_blend_minmax, EXT_disjoint_timer_query, EXT_frag_depth, EXT_shader_texture_lod, EXT_sRGB, EXT_texture_filter_anisotropic, WEBKIT_EXT_texture_filter_anisotropic, OES_element_index_uint, OES_standard_derivatives, OES_texture_float, OES_texture_float_linear, OES_texture_half_float, OES_texture_half_float_linear, OES_vertex_array_object, WEBGL_compressed_texture_s3tc, WEBKIT_WEBGL_compressed_texture_s3tc, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_depth_texture, WEBKIT_WEBGL_depth_texture, WEBGL_draw_buffers, WEBGL_lose_context, WEBKIT_WEBGL_lose_context
ImageImageImage
B
71
S
22
G
240
Posts: 3,734
Reputation: 133,994

Post » Mon Apr 03, 2017 11:07 am

@blackhornet

Good catch. The Image editor just doesn't contemplate SVGs.

Something to consider though is that the SVG needs be rasterized when you import it, that means to turn the vector graphics into a bitmap.
Scirra Employee
B
10
S
5
G
2
Posts: 132
Reputation: 2,356

Post » Mon Apr 03, 2017 3:54 pm

Added.

Starting from r15 it will be possible to load SVG files into the image editor.
Scirra Employee
B
10
S
5
G
2
Posts: 132
Reputation: 2,356


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests